diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 363439b..d36931c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,14 +35,6 @@ jobs: --store-password-in-clear-text ` --name github "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" - - run: | - dotnet nuget remove source nuget - dotnet nuget add source ` - --username USERNAME ` - --password ${{ secrets.NUGET_ORG_API_KEY }} ` - --store-password-in-clear-text ` - --name nuget "https://api.nuget.org/v3/index.json" - - run: | dotnet pack ` -c Release ` @@ -68,4 +60,5 @@ jobs: dotnet nuget push "${{ env.ArtifactDirectory }}/*.nupkg" -s "github" - name: Publish to nuget.org - run: echo noop \ No newline at end of file + run: | + dotnet nuget push "${{ env.ArtifactDirectory }}/*.nupkg" -k ${{ secrets.NUGET_ORG_API_KEY }} -s https://api.nuget.org/v3/index.json \ No newline at end of file