Skip to content

Commit 660b22f

Browse files
committed
Updating workflow
1 parent f707bff commit 660b22f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/workflow.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,19 @@ jobs:
3030
pip install -r requirements.txt
3131
pip install pyinstaller
3232
33-
# Step 4: Build the executable
33+
# Step 4: Build the executable
3434
- name: Build executable
3535
run: |
36-
pyinstaller --noconfirm --noconsole --icon=file_renamer_icon.ico --add-data="file_renamer_icon.ico:." --hidden-import=pillow_heif --hidden-import=pytz.zoneinfo --exclude-module=numpy --exclude-module=mkl --exclude-module=tcl --exclude-module=tbb --exclude-module=pywin32 --exclude-module=psutil rename_files.py
36+
pyinstaller --noconfirm --noconsole --icon=file_renamer_icon.ico --add-data="file_renamer_icon.ico:." --hidden-import=pillow_heif --hidden-import=pytz.zoneinfo --exclude-module=numpy --exclude-module=mkl --exclude-module=tcl --exclude-module=tbb --exclude-module=pywin32 --exclude-module=psutil --distpath=dist --workpath=build rename_files.py
3737
3838
# Step 5: Upload as artifact
39-
- name: Upload executable artifact
40-
uses: actions/upload-artifact@v3
39+
- name: Upload executable
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: rename_files_executable
43-
path: dist/rename_files/rename_files.exe
43+
path: |
44+
dist/rename_files/*
45+
build/rename_files/*
4446
4547
update-gh-pages:
4648
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)