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