Too Long; Didn't Read
Using GitHub Actions To Publish NuGet Packages [A Step-by-Step Guide] To publish NuGet packages on GitHub.org. Use Publish Nuget action to package and publish nuget packages on push to master branch. Create a Nuget.org API key and set it as a GitHub secret Nuget API key to publish packages. Set a key as a secret key for the secret API key in your repository. Set PROJECT_FILE_PATH and NUGET_KEY to authenticate with NuGet.org’s API key.