Skip to content

Commit 4a471bd

Browse files
committed
update yml
1 parent 1b3b005 commit 4a471bd

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build_exe.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,20 @@ jobs:
2727
python -c "from PIL import Image; img = Image.open('img/icon.png'); img.save('icon.ico')"
2828
2929
- name: Build executable
30-
run: pyinstaller --name=dbcompare --onefile --windowed --add-data "img/icon.png;img" --icon="icon.ico" main.py
30+
run: |
31+
pyinstaller --name=dbcompare --onefile --windowed --add-data "img/icon.png;img" --icon="icon.ico" main.py
32+
33+
- name: List dist directory # Check if the executable is created
34+
run: dir dist # For Windows, this will list files in the dist directory
3135

3236
- name: Create ZIP file
3337
run: |
3438
Compress-Archive -Path dist\dbcompare.exe -DestinationPath dbcompare.zip
3539
36-
- name: Upload artifact
40+
- name: Upload artifacts
3741
uses: actions/upload-artifact@v3
3842
with:
3943
name: dbcompare-app
4044
path: |
41-
dist/dbcompare.exe
45+
dist\dbcompare.exe
4246
dbcompare.zip

0 commit comments

Comments
 (0)