We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d57efd3 commit 6b25f07Copy full SHA for 6b25f07
.github/workflows/release-nuget.yml
@@ -26,11 +26,7 @@ jobs:
26
path: artifacts
27
28
- name: Publish NuGet Package (NuGet.org)
29
- env:
30
- API_KEY: ${{ secrets.NUGET_API_KEY }}
31
- run: dotnet nuget push ./artifacts/*.nupkg -k ${API_KEY}
+ run: dotnet nuget push ./artifacts/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
32
33
- name: Publish NuGet Package (GitHub)
34
35
- API_KEY: ${{ secrets.GITHUB_TOKEN }}
36
- run: dotnet nuget push ./artifacts/*.nupkg -k ${API_KEY} --source "https://nuget.pkg.github.com/redth-org/index.json"
+ run: dotnet nuget push ./artifacts/*.nupkg -k ${{ secrets.GITHUB_TOKEN }} -s https://nuget.pkg.github.com/redth-org/index.json
0 commit comments