Skip to content

Commit

Permalink
Update nuget.yml
Browse files Browse the repository at this point in the history
Publish to nuget first
  • Loading branch information
bgijzen authored Jan 22, 2024
1 parent 7359782 commit 0a2dc07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Publish to Nuget.org
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_apikey }} -s https://api.nuget.org/v3/index.json
- name: Add Github Packages source
run: dotnet nuget add source --username cmdotcom --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/cmdotcom/index.json"
- name: Publish to Github Packages
run: dotnet nuget push **/*.nupkg -s github
- name: Publish to Nuget.org
run: dotnet nuget push **/*.nupkg --api-key ${{ secrets.nuget_apikey }} -s https://api.nuget.org/v3/index.json

0 comments on commit 0a2dc07

Please sign in to comment.