From 4b5ed0b4280d3a53dc8f1fcc16fe5232d9028412 Mon Sep 17 00:00:00 2001 From: Maxim Logaev Date: Tue, 19 Mar 2024 16:08:27 +0300 Subject: [PATCH] Auto-release from tag Signed-off-by: Maxim Logaev --- .github/workflows/build-win64.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-win64.yml b/.github/workflows/build-win64.yml index 9b30723d..3083e304 100644 --- a/.github/workflows/build-win64.yml +++ b/.github/workflows/build-win64.yml @@ -28,12 +28,11 @@ jobs: name: dino-installer path: windows-installer/dino-installer.exe - name: Release Dino installer - if: github.ref == 'refs/heads/master' && github.event_name == 'push' + 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 - release_name: Dino ${{ steps.ghd.outputs.describe }}" + release_name: Dino ${{ steps.ghd.outputs.describe }}