Skip to content

Commit

Permalink
update yml
Browse files Browse the repository at this point in the history
  • Loading branch information
faytor committed Sep 30, 2024
1 parent 1b3b005 commit 4a471bd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,20 @@ jobs:
python -c "from PIL import Image; img = Image.open('img/icon.png'); img.save('icon.ico')"
- name: Build executable
run: pyinstaller --name=dbcompare --onefile --windowed --add-data "img/icon.png;img" --icon="icon.ico" main.py
run: |
pyinstaller --name=dbcompare --onefile --windowed --add-data "img/icon.png;img" --icon="icon.ico" main.py
- name: List dist directory # Check if the executable is created
run: dir dist # For Windows, this will list files in the dist directory

- name: Create ZIP file
run: |
Compress-Archive -Path dist\dbcompare.exe -DestinationPath dbcompare.zip
- name: Upload artifact
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: dbcompare-app
path: |
dist/dbcompare.exe
dist\dbcompare.exe
dbcompare.zip

0 comments on commit 4a471bd

Please sign in to comment.