Added auto uploading releases (Win64)

Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
This commit is contained in:
Maxim Logaev 2024-03-19 01:32:44 +03:00
parent 6fd8f9a45c
commit 38a547aee5

View file

@ -16,11 +16,20 @@ 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
- name: Release Dino installer
if: ${{ github.ref_type == 'tag' }}
uses: svenstaro/upload-release-action@2.9.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: windows-installer/dino-installer.exe
asset_name: dino-installer.exe
tag: ${{ github.ref }}
overwrite: true