From f34424b600023d1514c6f95c039c4bc90fe926c6 Mon Sep 17 00:00:00 2001 From: LoweredgamesDev Date: Mon, 19 Feb 2024 17:33:08 +0100 Subject: [PATCH] Revert "rimosso il tag" This reverts commit 9d99e3777e94189cf731f2afc95792f0cbf93d0e. --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d814c5775..7ef6c727f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,13 +54,21 @@ jobs: release_name="$base_name" fi echo "::set-output name=releasename::$release_name" + - name: Construct tag name + id: construct_tag + run: | + tag_name="${{ steps.get_version.outputs.RELEASE }}${{ steps.get_version.outputs.NIGHTLY }}" + release_name="$base_name" + fi + echo "::set-output name=tag::$tag_name" - name: Create Release uses: softprops/action-gh-release@v1 with: + tag_name: ${{ steps.construct_tag.outputs.tag }} files: | ${{ steps.construct_filename.outputs.zipname }} env: GH_TOKEN: ${{ steps.get_version.outputs.RELEASE }}${{ steps.get_version.outputs.NIGHTLY }} - name: Get Download URL run: | - echo "${{ env.REPO_URL }}/releases/download/${{ steps.construct_filename.outputs.zipname }}" \ No newline at end of file + echo "${{ env.REPO_URL }}/releases/download/${{ steps.construct_tag.outputs.tag }}/${{ steps.construct_filename.outputs.zipname }}" \ No newline at end of file