From 21af4be8d037a9bff76427d00ad938d74467099c Mon Sep 17 00:00:00 2001 From: Tony Bark <35226681+tonytins@users.noreply.github.com> Date: Mon, 10 Oct 2022 03:16:21 -0400 Subject: [PATCH] Fixed publishing error --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3a5642b..b578bf8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,6 +19,6 @@ jobs: run: dotnet pack --no-restore -o . - name: Publish to Nuget env: - NUGET_KEY: ${{ secrets.NUGET_KEY }} + NUGET_KEY: ${{ secrets.DEPLOY_KEY }} NUGET_API: https://api.nuget.org/v3/index.json - run: dotnet nuget push CSTNet.*.nupkg -k $DEPLOY_KEY -s https://api.nuget.org/v3/index.json + run: dotnet nuget push CSTNet.*.nupkg --api-key $NUGET_KEY --source $NUGET_API