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 ff3eca7 commit 3cd8617Copy full SHA for 3cd8617
.github/workflows/Deploy.yml
@@ -19,7 +19,7 @@ jobs:
19
dotnet-version: 3.1.100
20
21
- name: build
22
- run: dotnet pack -p:Version=${GITHUB_REF} -p:FileVersion=${GITHUB_REF} -p:AssemblyVersion=${GITHUB_REF} -c Release src/Dahomey.Cbor
+ run: dotnet pack -p:Version=${GITHUB_REF##*/} -p:FileVersion=${GITHUB_REF##*/} -p:AssemblyVersion=${GITHUB_REF##*/} -c Release src/Dahomey.Cbor
23
24
- name: deploy
25
- run: dotnet nuget push src/Dahomey.Cbor/bin/Release/Dahomey.Cbor.${GITHUB_REF}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
+ run: dotnet nuget push src/Dahomey.Cbor/bin/Release/Dahomey.Cbor.${GITHUB_REF##*/}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
0 commit comments