From 1bea63f11bf385cb74fce93e78e18cd58fe911db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Bertrand?= Date: Tue, 2 Nov 2021 17:32:05 +0100 Subject: [PATCH] trying once more --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fecd56a4..da9e1e7e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,7 +87,7 @@ jobs: run: | dotnet publish src/NVika --configuration Release --output ./publish --self-contained true --runtime win-x86 -p:PublishSingleFile=true -p:PublishTrimmed=true /p:PackAsTool=false /p:Version=${{ steps.gitversion.outputs.nuGetVersionV2 }} # Copy-Item -Path "artifacts/ReleaseNotes.html" -Destination publish - Compress-Archive -Path publish/* -DestinationPath "artifacts/zips/NVika.win-x86.$env:GitVersion_NuGetVersionV2.zip" + Compress-Archive -Path publish/* -DestinationPath "artifacts/zips/NVika.win-x86.${{ steps.gitversion.outputs.nuGetVersionV2 }}.zip" - name: Create chocolatey version run: | @@ -119,8 +119,7 @@ jobs: - name: Get the version id: get_version - shell: cmd - run: echo "::set-output name=VERSION::${GITHUB_REF#refs/tags/v}" + run: echo "::set-output name=VERSION::$env:GITHUB_REF.Replace('refs/tags/v', '')" - name: Create Release id: create_release