diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ccafd39..c43c65c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,8 @@ on: branches: ["develop"] tags: - '**' +env: + GITHUB_REF_NAME: ${{ github.ref_name }} jobs: build_job: @@ -25,7 +27,7 @@ jobs: - name: nuspec pack shell: pwsh run: | - nuget pack .\DotNetSDataClient.nuspec -properties version=${{ github.ref_name }} -OutputDirectory dist\nuget + nuget pack .\DotNetSDataClient.nuspec -properties version=$env:GITHUB_REF_NAME -OutputDirectory dist\nuget - name: store artifacts uses: actions/upload-artifact@v4 with: