Skip to content

Commit 2a17514

Browse files
Fix release tag issue in publish pipeline (#616)
Fix release tag issue in publish pipeline (#616)
1 parent fc8cba9 commit 2a17514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
working-directory: Xero-NetStandard
5555

5656
- name: Publish Package to Nuget.org
57-
run: dotnet nuget push ./Xero.NetStandard.OAuth2/bin/Release/Xero.NetStandard.OAuth2.${{ github.event.release.name }}.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json
57+
run: dotnet nuget push ./Xero.NetStandard.OAuth2/bin/Release/Xero.NetStandard.OAuth2.${{steps.get_latest_release_number.outputs.release_tag}}.nupkg --api-key ${{ secrets.NUGET_APIKEY }} --source https://api.nuget.org/v3/index.json
5858
working-directory: Xero-NetStandard
5959

6060

0 commit comments

Comments
 (0)