diff --git a/.github/workflows/release-publish.yml b/.github/workflows/release-publish.yml index 580467a..6a00c49 100644 --- a/.github/workflows/release-publish.yml +++ b/.github/workflows/release-publish.yml @@ -47,13 +47,10 @@ jobs: echo "Found $PACKAGE_COUNT package(s) to publish" - name: Publish to NuGet.org - env: - NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} run: | for package in ./artifacts/*.nupkg; do echo "Publishing $package to NuGet.org..." dotnet nuget push "$package" \ - --api-key "$NUGET_API_KEY" \ --source https://api.nuget.org/v3/index.json \ --skip-duplicate done @@ -65,4 +62,4 @@ jobs: with: name: published-nuget-packages path: ./artifacts/*.nupkg - retention-days: 90 \ No newline at end of file + retention-days: 90