Skip to content

Commit

Permalink
setup nuget.org publish step in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tgharold authored Mar 11, 2020
1 parent b5cb66d commit 44cf570
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/create-release-asset-on-git-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,9 @@ jobs:
asset_path: ./src/${{ env.PROJECT }}/bin/${{ env.CONFIG }}/${{ env.PROJECT }}.${{ env.RELEASE_VERSION }}.nupkg
asset_name: ${{ env.PROJECT }}.${{ env.RELEASE_VERSION }}.nupkg
asset_content_type: application/zip

- name: Publish on nuget.org
run: >
dotnet nuget push ./src/${{ env.PROJECT }}/bin/${{ env.CONFIG }}/${{ env.PROJECT }}.${{ env.RELEASE_VERSION }}.nupkg
-k ${{ secrets.NugetApiKey }}
-s https://api.nuget.org/v3/index.json

0 comments on commit 44cf570

Please sign in to comment.