From 3b27fd3c1040d01b3b4178dc667c9a754ab278ad Mon Sep 17 00:00:00 2001 From: Kieron Lanning Date: Thu, 3 Sep 2026 23:20:38 +0100 Subject: [PATCH] fix: use org NUGET__APIKEY secret for nuget.org publish --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ee4f8f..090a6bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,10 +68,10 @@ jobs: - name: Verify NuGet API key if: steps.version.outputs.release == 'true' env: - NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }} + NUGET_APIKEY: ${{ secrets.NUGET__APIKEY }} run: | if [ -z "$NUGET_APIKEY" ]; then - echo "The NUGET_APIKEY secret is not set. It is required to publish Purview.Build to nuget.org." >&2 + echo "The NUGET__APIKEY secret is not set. It is required to publish Purview.Build to nuget.org." >&2 exit 1 fi @@ -87,7 +87,7 @@ jobs: if: steps.version.outputs.release == 'true' env: GITHUB_TOKEN: ${{ github.token }} - NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }} + NUGET_APIKEY: ${{ secrets.NUGET__APIKEY }} Release__Mode: NuGet Release__UploadArtifacts: "true" NuGet__FeedUrl: https://api.nuget.org/v3/index.json