We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c95e7ec commit 28f422dCopy full SHA for 28f422d
.github/workflows/dotnet-build.yml
@@ -92,7 +92,7 @@ jobs:
92
93
- name: Set NuGet Version to Tag Number
94
if: startsWith(github.ref, 'refs/tags/')
95
- run: echo "NugetPackageVersion=${${{ github.ref }}#refs/tags/}" >> $GITHUB_ENV
+ run: echo "NugetPackageVersion=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
96
97
- name: Set NuGet Version to PR Version
98
if: ${{ github.event_name == 'pull_request' }}
0 commit comments