Added night build
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
This commit is contained in:
parent
1612ee7472
commit
c9241e220c
17
.github/workflows/build-win64.yml
vendored
17
.github/workflows/build-win64.yml
vendored
|
@ -12,15 +12,28 @@ jobs:
|
||||||
install: git
|
install: git
|
||||||
- run: git config --global core.autocrlf input
|
- run: git config --global core.autocrlf input
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Git describe
|
||||||
|
id: ghd
|
||||||
|
uses: proudust/gh-describe@v2
|
||||||
- name: Build Dino
|
- name: Build Dino
|
||||||
run: |
|
run: |
|
||||||
msys2 -c './build-win64.sh --prepare'
|
msys2 -c './build-win64.sh --prepare'
|
||||||
msys2 -c './build-win64.sh'
|
msys2 -c './build-win64.sh'
|
||||||
- name: Build Dino Installer
|
- name: Build Dino installer
|
||||||
run: |
|
run: |
|
||||||
msys2 -c './build-win64.sh --build-installer'
|
msys2 -c './build-win64.sh --build-installer'
|
||||||
- name: Upload Dino Installer
|
- name: Upload Dino installer
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: dino-installer
|
name: dino-installer
|
||||||
path: windows-installer/dino-installer.exe
|
path: windows-installer/dino-installer.exe
|
||||||
|
- name: Release Dino installer
|
||||||
|
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
||||||
|
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
|
||||||
|
release_name: Dino ${{ steps.ghd.outputs.describe }}"
|
||||||
|
|
Loading…
Reference in a new issue