File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -30,17 +30,19 @@ jobs:
30
30
pip install -r requirements.txt
31
31
pip install pyinstaller
32
32
33
- # Step 4: Build the executable
33
+ # Step 4: Build the executable
34
34
- name : Build executable
35
35
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
37
37
38
38
# 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
41
41
with :
42
42
name : rename_files_executable
43
- path : dist/rename_files/rename_files.exe
43
+ path : |
44
+ dist/rename_files/*
45
+ build/rename_files/*
44
46
45
47
update-gh-pages :
46
48
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments