From 9c62244a600dcf70dc4e1077cfe64c88fe4776d1 Mon Sep 17 00:00:00 2001 From: Sergio Date: Thu, 17 Mar 2022 14:39:10 +0100 Subject: [PATCH] api-key in dotnet nuget --- .github/workflows/nuget.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index 195b641..432d130 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -27,6 +27,5 @@ jobs: uses: NuGet/setup-nuget@v1.0.5 with: nuget-version: latest - nuget-api-key: ${{secrets.NUGET_API_KEY}} - name: Nuget push - run: dotnet nuget push ./artifacts/*.nupkg -s https://api.nuget.org/v3/index.json --skip-duplicate + run: dotnet nuget push ./artifacts/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate