Skip to content

Commit

Permalink
upload to nuget.com
Browse files Browse the repository at this point in the history
  • Loading branch information
R0boC0p committed May 23, 2024
1 parent 2478e4a commit 6c2e0ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,8 @@ jobs:
cp ./nupkg/combined/7.0.x/*.nupkg ./nupkg/combined/
cp ./nupkg/combined/8.0.x/*.nupkg ./nupkg/combined/
- name: Push NuGet package to GitHub
- name: Push NuGet package to GitHub Packages
run: dotnet nuget push ./nupkg/combined/*.nupkg --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --api-key ${{ secrets.GH_TOKEN }}

- name: Push NuGet package to NuGet.org
run: dotnet nuget push ./nupkg/combined/*.nupkg --source "https://api.nuget.org/v3/index.json" --api-key ${{ secrets.NUGET_TOKEN }}

0 comments on commit 6c2e0ce

Please sign in to comment.