From 588f67c6764e3210791b619e3c6bf4d058b854ad Mon Sep 17 00:00:00 2001 From: Teesofttech Date: Sun, 14 Jun 2026 20:21:56 +0100 Subject: [PATCH] Simplify NuGet symbol publishing --- .github/workflows/publish-nuget.yml | 11 ----------- docs/release.md | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/publish-nuget.yml b/.github/workflows/publish-nuget.yml index 2c2102e..fe62119 100644 --- a/.github/workflows/publish-nuget.yml +++ b/.github/workflows/publish-nuget.yml @@ -83,17 +83,6 @@ jobs: --source https://api.nuget.org/v3/index.json \ --skip-duplicate - - name: Publish symbols - if: ${{ github.event_name == 'push' || inputs.dry_run == false }} - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} - shell: bash - run: | - dotnet nuget push ./artifacts/*.snupkg \ - --api-key "$NUGET_API_KEY" \ - --source https://api.nuget.org/v3/index.json \ - --skip-duplicate - - name: Upload artifacts uses: actions/upload-artifact@v4 with: diff --git a/docs/release.md b/docs/release.md index 7661e00..96dc886 100644 --- a/docs/release.md +++ b/docs/release.md @@ -34,6 +34,7 @@ Run **Publish to NuGet** manually with: - `dry_run`: `false` The workflow fails before publishing if `NUGET_API_KEY` is missing. +The publish command uploads the `.nupkg` package and the matching `.snupkg` symbols package from the artifacts directory. ## Publish From A Tag