From 22d1607c817c2c62a2525b828c744e5c9af28c7d Mon Sep 17 00:00:00 2001 From: Omer Cohen Date: Wed, 29 May 2024 13:57:24 +0300 Subject: [PATCH] Update release.yaml --- .github/workflows/release.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3a87e0d..085740b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -26,10 +26,5 @@ jobs: run: dotnet pack --configuration Release ${{ env.PACKAGE_NAME }} - name: Publish the package to GPR run: dotnet nuget push ${{ env.PACKAGE_NAME }}/bin/Release/*.nupkg - - uses: actions/setup-dotnet@v4 - with: - source-url: https://api.nuget.org/v3/index.json - env: - NUGET_AUTH_TOKEN: ${{ secrets.NUGET_ORG_KEY }} - name: Publish the package to NuGet.org - run: dotnet nuget push ${{ env.PACKAGE_NAME }}/bin/Release/*.nupkg + run: dotnet nuget push -k ${{ secrets.NUGET_ORG_KEY }} -s https://api.nuget.org/v3/index.json ${{ env.PACKAGE_NAME }}/bin/Release/*.nupkg