From 06ddb4bd943f9e725103a1dd97e19a357dd56c0f Mon Sep 17 00:00:00 2001 From: Isabelle Santin Date: Thu, 19 Mar 2026 11:23:22 -0500 Subject: [PATCH] CI: allow duplicate packages on NuGet publish --- .github/workflows/nuget.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 4bd710b..2c28890 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -27,9 +27,10 @@ jobs: run: dotnet build QuadrupleLib --no-restore --configuration Release - name: Create NuGet packages run: dotnet pack --no-build --output build/ - - name: Publish to NuGet - run: dotnet nuget push --api-key ${{ secrets.API_KEY }} --source nuget.org build/**/*.nupkg - name: Create new release uses: ncipollo/release-action@v1 with: + artifacts: build/**/*.nupkg generateReleaseNotes: true + - name: Publish to NuGet + run: dotnet nuget push --api-key ${{ secrets.API_KEY }} --source nuget.org build/**/*.nupkg --skip-duplicate