From 9b861a1999da9b11baf86eb50b5391b8f7500d75 Mon Sep 17 00:00:00 2001 From: Curtis Wensley Date: Sun, 7 Jun 2020 02:16:12 -0700 Subject: [PATCH] Fix nuget push for releases --- .github/workflows/build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8f9cdb..9118da0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -99,10 +99,6 @@ jobs: steps: - name: Setup .NET Core uses: actions/setup-dotnet@v1 - with: - source-url: https://api.nuget.org/v3/index.json - env: - NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}} - name: Download NuGet Packages uses: actions/download-artifact@v1 @@ -110,4 +106,4 @@ jobs: name: nuget - name: Push packages - run: dotnet nuget push ./nuget/**/*.nupkg --skip-duplicate + run: dotnet nuget push ./nuget/**/*.nupkg --skip-duplicate -s https://api.nuget.org/v3/index.json -k ${{secrets.NUGET_API_KEY}}