Skip to content

Commit

Permalink
Added auto uploading to release
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Logaev <[email protected]>
  • Loading branch information
mxlgv committed Mar 18, 2024
1 parent 6fd8f9a commit aa13922
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build-win64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,22 @@ jobs:
run: |
msys2 -c './build-win64.sh --prepare'
msys2 -c './build-win64.sh'
- name: Build Dino Installer
- name: Build Dino installer
run: |
msys2 -c './build-win64.sh --build-installer'
- name: Upload Dino Installer
- name: Upload Dino installer
uses: actions/upload-artifact@v4
with:
name: dino-installer
path: windows-installer/dino-installer.exe

if: startsWith(github.event.ref, 'refs/tags/')
- name: Release Dino installer
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: windows-installer/dino-installer.exe
asset_name: dino-installer.exe
tag: ${{ github.ref }}
release_name: Dino
overwrite: true

0 comments on commit aa13922

Please sign in to comment.