Skip to content

Commit

Permalink
publish to nuget.org
Browse files Browse the repository at this point in the history
  • Loading branch information
Confusingboat committed Jun 2, 2023
1 parent 153d8fc commit 267d3cc
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,6 @@ jobs:
--store-password-in-clear-text `
--name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json"
- run: |
dotnet nuget remove source nuget
dotnet nuget add source `
--username USERNAME `
--password ${{ secrets.NUGET_ORG_API_KEY }} `
--store-password-in-clear-text `
--name nuget "https://api.nuget.org/v3/index.json"
- run: |
dotnet pack `
-c Release `
Expand All @@ -68,4 +60,5 @@ jobs:
dotnet nuget push "${{ env.ArtifactDirectory }}/*.nupkg" -s "github"
- name: Publish to nuget.org
run: echo noop
run: |
dotnet nuget push "${{ env.ArtifactDirectory }}/*.nupkg" -k ${{ secrets.NUGET_ORG_API_KEY }} -s https://api.nuget.org/v3/index.json

0 comments on commit 267d3cc

Please sign in to comment.