diff --git a/.github/workflows/essentialsplugins-releasebuilds.yml b/.github/workflows/essentialsplugins-releasebuilds.yml index 2560986..921ee45 100644 --- a/.github/workflows/essentialsplugins-releasebuilds.yml +++ b/.github/workflows/essentialsplugins-releasebuilds.yml @@ -195,7 +195,7 @@ jobs: - name: Create nuget package run: nuget pack "./${{ env.NUSPEC_FILE}}.nuspec" -version ${{ needs.Build_Project.outputs.version }} - name: Publish nuget package to Github registry - run: nuget push **/*.nupkg -source github + run: nuget push **/*.nupkg -source github --api-key ${{ secrets.GITHUB_TOKEN}} # Pushes to nuget, not needed unless publishing publicly >> this pushes package to nuget.org - name: Publish nuget package to nuget.org run: nuget push **/*.nupkg -Source https://api.nuget.org/v3/index.json