Skip to content

Commit

Permalink
Push package to nuget.org
Browse files Browse the repository at this point in the history
  • Loading branch information
mcpride committed Apr 28, 2023
1 parent d52eca0 commit 5f2c5a6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,5 @@ jobs:
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY
- name: Build release
run: dotnet build src/ms-markdig-extensions.sln --no-restore --configuration Release
- name: nuget push
env:
- NUGET_API_KEY: ${{ secrets.NUGET_PUSH_API_KEY }}
if: env.API_KEY != ''
run: dotnet nuget push ./**/Release/MS.Markdig.*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ env.NUGET_API_KEY }}
- name: Push packages to nuget.org
run: dotnet nuget push ./**/Release/MS.Markdig.*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_PUSH_API_KEY }}

0 comments on commit 5f2c5a6

Please sign in to comment.