Skip to content

Commit 0e14196

Browse files
committed
Updating GitHub Actions workflow again to revert to the previous packaging behavior
1 parent 874be78 commit 0e14196

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-executable.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
2626
- name: Build executable
2727
run: |
28-
pyinstaller --onefile --noconsole --icon=file_renamer_icon.ico --add-data "file_renamer_icon.ico;." rename_files.py
28+
pyinstaller --onefile --noconsole --icon=file_renamer_icon.ico --add-data "file_renamer_icon.ico;." --hidden-import=PIL --hidden-import=pytz rename_files.py
2929
3030
- name: Upload artifact
3131
uses: actions/upload-artifact@v4
3232
with:
3333
name: rename_files_executable
34-
path: dist/rename_files.exe
34+
path: dist/
3535
retention-days: 7

0 commit comments

Comments
 (0)