From 3c6eb034332ada41beea8586dfedac32b4abb907 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Thu, 23 Jul 2020 22:33:24 -0600 Subject: [PATCH] add API Key --- .github/workflows/docker.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8d60ca7..17fcebf 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -144,14 +144,14 @@ jobs: uses: nuget/setup-nuget@v1 - name: Add Github Packages source run: nuget sources add -name github -source https://nuget.pkg.github.com/pepperdash/index.json -username Pepperdash -password ${{ secrets.GITHUB_TOKEN }} - - name: Add nuget.org source - run: nuget sources add -name nuget -source https://api.nuget.org/v3/index.json -username andrew-welker -password ${{ secrets.NUGET_API_KEY }} + - name: Add nuget.org API Key + run: nuget setApiKey ${{ secrets.NUGET_API_KEY }} - name: Create nuget package run: nuget pack "./PepperDash_Core.nuspec" -version ${{ env.VERSION }} - name: Publish nuget package to Github registry run: nuget push **/*.nupkg -source github - name: Publish nuget package to nuget.org - run: nuget push **/*.nupkg -source nuget + run: nuget push **/*.nupkg -Source https://api.nuget.org/v3/index.json # This step always runs and pushes the build to the internal build rep Internal_Push_Output: needs: Build_Project