Skip to content

Commit

Permalink
Update NuGet source URL in publish workflow
Browse files Browse the repository at this point in the history
Changed the NuGet package publishing command in `nuget-publish.yml` to use the correct source URL `https://api.nuget.org/v3/index.json`. The `-s` flag replaces `--source`, while retaining the `--skip-duplicate` option to prevent duplicate package pushes.
  • Loading branch information
penyland committed Jan 30, 2025
1 parent 96aaf10 commit b7f8514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ jobs:
run: |
for f in ./nupkgs/*.nupkg
do
dotnet nuget push $f --api-key ${{secrets.NUGET_API_KEY}} --source https://api.nupkg.org/v3/index.json --skip-duplicate
dotnet nuget push $f --api-key ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate
done

0 comments on commit b7f8514

Please sign in to comment.