Skip to content

Commit

Permalink
chore: fix package upload in ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
codito authored Jul 4, 2023
1 parent 9f54a8e commit 34467f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ jobs:
- name: Publish packages
if: ${{ github.event_name == 'push' && matrix.os == 'windows-latest' }}
run: |
dotnet nuget push 'src/package/bin/Release/*.nupkg' --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/spekt/index.json
dotnet nuget push 'src/package/bin/Release/*.nupkg' --api-key ${{ secrets.SPEKT_MYGET_KEY }} --source https://www.myget.org/F/spekt/api/v3/index.json
$packageFile = (Get-ChildItem src/package/bin/Release/*.nupkg).FullName
dotnet nuget push "$packageFile" --api-key ${{ secrets.GITHUB_TOKEN }} --source https://nuget.pkg.github.com/spekt/index.json
dotnet nuget push "$packageFile" --api-key ${{ secrets.SPEKT_MYGET_KEY }} --source https://www.myget.org/F/spekt/api/v3/index.json

0 comments on commit 34467f2

Please sign in to comment.