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 4a471bd commit b78f6b8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build_exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Build executable
run: |
pyinstaller --name=dbcompare --onefile --windowed --add-data "img/icon.png;img" --icon="icon.ico" main.py
pyinstaller --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
Expand All @@ -37,10 +37,14 @@ jobs:
run: |
Compress-Archive -Path dist\dbcompare.exe -DestinationPath dbcompare.zip
- name: Upload artifacts
uses: actions/upload-artifact@v3
- name: Create Release
uses: softprops/action-gh-release@v1
with:
name: dbcompare-app
path: |
tag_name: ${{ github.ref }} # Use the tag that triggered this workflow
files: |
dist\dbcompare.exe
dbcompare.zip
name: Release ${{ github.ref_name }}
body: This is a new release of DBCompare.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit b78f6b8

Please sign in to comment.