Skip to content

Commit

Permalink
update work directory of pyinstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
elkanamol authored Sep 1, 2024
1 parent a75b472 commit b271804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Build_Executable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
python-version: "3.8.10"

- name: Install requirements
working-directory: . # <your working directory> # can remove this field if your working directory is root
#working-directory: . # <your working directory> # can remove this field if your working directory is root
run: pip install -r requirements.txt

- name: Install Pyinstaller
run: pip install -U pyinstaller

- name: Compile executable
# working-directory: # again, app directory here or skip if root
working-directory: . # again, app directory here or skip if root
run: pyinstaller --onefile --name sierra-status --hidden-import=serial --hidden-import=argparse --hidden-import=importlib.metadata --clean --windowed .\sierra_status\src\cli.py #or whatever your main file is named

- name: Release
Expand Down

0 comments on commit b271804

Please sign in to comment.