Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Official-Husko committed Jun 22, 2024
1 parent c6792bb commit d46b415
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,21 @@ jobs:
with:
python-version: 3.12.4 # Specify the Python version you need

- name: Create virtual environment
- name: Create virtual environment and build
shell: bash
run: |
python -m venv .env
.env\Scripts\activate # Activate the virtual environment
source .env/Scripts/activate
python -m pip install --upgrade pip
pip install -r requirements.txt # Replace with your requirements file if exists
- name: Build executable
run: |
.env\Scripts\activate # Activate the virtual environment
pyinstaller --paths .env\Lib\site-packages \
pyinstaller --paths .env/Lib/site-packages \
--hidden-import requests \
--hidden-import inquirer \
--hidden-import alive_progress \
--hidden-import termcolor \
--hidden-import xmltodict \
--add-data=".env\Lib\site-packages\grapheme\data\*;grapheme/data/" \
--add-data=".env/Lib/site-packages/grapheme/data/*;grapheme/data/" \
--onefile \
--icon "icon.ico" \
--console \
Expand Down

0 comments on commit d46b415

Please sign in to comment.