From 2b937689bdd25032e5fcd06fa3109d9f20c62a59 Mon Sep 17 00:00:00 2001 From: Dimitrij Date: Thu, 14 Aug 2025 12:01:51 +0100 Subject: [PATCH] Update Build_mR-NB.yml fix --- .github/workflows/Build_mR-NB.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/Build_mR-NB.yml b/.github/workflows/Build_mR-NB.yml index 0084562dd..4ef23db5a 100644 --- a/.github/workflows/Build_mR-NB.yml +++ b/.github/workflows/Build_mR-NB.yml @@ -67,15 +67,20 @@ jobs: Compress-Archive -Path "$sourceDir\*" -DestinationPath ${{ steps.version.outputs.zipname }} echo "File: ${{ steps.version.outputs.zipname }}" echo "Token: secrets.GitHubActions" - - - name: (09) Create release + + - name: (09) Format tag + id: format_tag + run: | + echo "tag=$(date +'%Y%m%d')-v${{ steps.version.outputs.version }}-NB-${{ steps.version.outputs.build }}" >> $GITHUB_OUTPUT + + + - name: (10) Create release id: create_release uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: "$(date +'%Y%m%d')-v${{ steps.version.outputs.version }}-NB-${{ steps.version.outputs.build }}" + tag_name: ${{ steps.format_tag.outputs.tag }} name: "mRemoteNG ${{ steps.version.outputs.version }} NB ${{ steps.version.outputs.build }}" files: $ZIP body: |