Skip to content

Commit 3cd8617

Browse files
author
Michaël Catanzariti
authored
Update Deploy.yml
1 parent ff3eca7 commit 3cd8617

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/Deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
dotnet-version: 3.1.100
2020

2121
- name: build
22-
run: dotnet pack -p:Version=${GITHUB_REF} -p:FileVersion=${GITHUB_REF} -p:AssemblyVersion=${GITHUB_REF} -c Release src/Dahomey.Cbor
22+
run: dotnet pack -p:Version=${GITHUB_REF##*/} -p:FileVersion=${GITHUB_REF##*/} -p:AssemblyVersion=${GITHUB_REF##*/} -c Release src/Dahomey.Cbor
2323

2424
- 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
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

0 commit comments

Comments
 (0)