Skip to content

Commit 28f422d

Browse files
committed
Update dotnet-build.yml
1 parent c95e7ec commit 28f422d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
- name: Set NuGet Version to Tag Number
9494
if: startsWith(github.ref, 'refs/tags/')
95-
run: echo "NugetPackageVersion=${${{ github.ref }}#refs/tags/}" >> $GITHUB_ENV
95+
run: echo "NugetPackageVersion=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
9696

9797
- name: Set NuGet Version to PR Version
9898
if: ${{ github.event_name == 'pull_request' }}

0 commit comments

Comments
 (0)