From ea5838e7e878d6fe3a247918db5785c325c5b3b6 Mon Sep 17 00:00:00 2001 From: "Wei-Cheng Yeh (IID)" Date: Mon, 4 Nov 2024 20:40:52 +0800 Subject: [PATCH] workflow - always update assets of latest release (#745) --- .github/workflows/autobuild.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/autobuild.yaml b/.github/workflows/autobuild.yaml index c7606f7e..131dc668 100644 --- a/.github/workflows/autobuild.yaml +++ b/.github/workflows/autobuild.yaml @@ -225,12 +225,11 @@ jobs: draft: false prerelease: false - - name: Upload All Builds - if: steps.check-tag.outputs.exists == 'false' && env.version != '' + - name: Upload All Builds for the Latest Release uses: xresloader/upload-to-github-release@v1.6.0 with: file: "OpenTaiko.Win.x64.zip;OpenTaiko.Linux.x64.zip" overwrite: true - tag_name: ${{ env.version }} + tag_name: ${{ env.versionLast }} draft: false token: ${{ secrets.GITHUB_TOKEN }}