Skip to content

Commit

Permalink
fix auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
fischer-hub committed Aug 1, 2024
1 parent 54ae7c1 commit a10d5b4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pyinstaller-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ jobs:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.event.inputs.release_version }}
release_name: ${{ github.event.inputs.release_version }}
Expand All @@ -91,6 +93,8 @@ jobs:

- name: Upload Linux executable to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/vigilant-${{ matrix.os }}-${{ github.sha }}
Expand All @@ -99,6 +103,8 @@ jobs:

- name: Upload macOS executable to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/vigilant-${{ matrix.os }}-${{ github.sha }}
Expand All @@ -107,6 +113,8 @@ jobs:

- name: Upload Windows executable to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/vigilant-${{ matrix.os }}-${{ github.sha }}.exe
Expand Down

0 comments on commit a10d5b4

Please sign in to comment.