File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -27,16 +27,20 @@ jobs:
27
27
python -c "from PIL import Image; img = Image.open('img/icon.png'); img.save('icon.ico')"
28
28
29
29
- 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
31
35
32
36
- name : Create ZIP file
33
37
run : |
34
38
Compress-Archive -Path dist\dbcompare.exe -DestinationPath dbcompare.zip
35
39
36
- - name : Upload artifact
40
+ - name : Upload artifacts
37
41
uses : actions/upload-artifact@v3
38
42
with :
39
43
name : dbcompare-app
40
44
path : |
41
- dist/ dbcompare.exe
45
+ dist\ dbcompare.exe
42
46
dbcompare.zip
You can’t perform that action at this time.
0 commit comments