Skip to content

Commit

Permalink
updated publish-to-nuget-on-release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ddjerqq committed Mar 5, 2024
1 parent fec0443 commit dff0cb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-to-nuget-on-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
run: dotnet pack --configuration Release --output .

- name: Add Github to NuGet Source 🔑
run: dotnet nuget add source --username ddjerqq --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/ddjerqq/index.json"
run: dotnet nuget add source --store-password-in-clear-text --username ddjerqq --password ${{ secrets.NUGET_GITHUB_APIKEY }} --name github "https://nuget.pkg.github.com/ddjerqq/index.json"

- name: Push to Github 🚀
run: dotnet nuget push "*.nupkg" --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"
run: dotnet nuget push "*.nupkg" --api-key ${{ secrets.NUGET_GITHUB_APIKEY }} --source "github"

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

0 comments on commit dff0cb5

Please sign in to comment.