From b7f85146e87dc526b88dce5a142559aa36fe8c48 Mon Sep 17 00:00:00 2001 From: Peter Nylander Date: Thu, 30 Jan 2025 12:02:40 +0100 Subject: [PATCH] Update NuGet source URL in publish workflow 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. --- .github/workflows/nuget-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nuget-publish.yml b/.github/workflows/nuget-publish.yml index bcd33b5..44ef483 100644 --- a/.github/workflows/nuget-publish.yml +++ b/.github/workflows/nuget-publish.yml @@ -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