From 990ef940927db2ee49641f50c1911ec547b970fd Mon Sep 17 00:00:00 2001 From: Erez Date: Thu, 25 Mar 2021 12:37:37 +0200 Subject: [PATCH] try suggestion from https://github.com/NuGet/Home/issues/8580 --- .github/workflows/publish_nuget.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_nuget.yml b/.github/workflows/publish_nuget.yml index f57eb8c..e30208c 100644 --- a/.github/workflows/publish_nuget.yml +++ b/.github/workflows/publish_nuget.yml @@ -35,12 +35,12 @@ jobs: - name: Debug working-directory: ./Nugets - run: echo dotnet nuget push "*.nupkg" -k $REPO_TOKEN -s https://nuget.pkg.github.com/ErezG/index.json + run: echo dotnet nuget push "*.nupkg" -k ${GITHUB_TOKEN} -s https://nuget.pkg.github.com/ErezG/index.json env: - REPO_TOKEN: ${{ secrets.PUSH_PACKAGES_PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Push package working-directory: ./Nugets - run: dotnet nuget push "*.nupkg" -k $REPO_TOKEN -s https://nuget.pkg.github.com/ErezG/index.json + run: dotnet nuget push "*.nupkg" -k ${GITHUB_TOKEN} -s https://nuget.pkg.github.com/ErezG/index.json env: - REPO_TOKEN: ${{ secrets.PUSH_PACKAGES_PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}