This cross-platform action publishes Nupkg to GitHub Packages. .NET Core CLI is required. The project-level nuget.config
will be replaced by this action.
Required The path of the Nupkg file to publish.
Required The owner of GitHub Packages.
Required The username of your account.
Required The token of your GitHub Packages.
Required Skip publishing duplicated package(s) if true. The default value is true.
uses: tanaka-takayoshi/nuget-publish-to-github-packages-action@v2.1
with:
nupkg-path: './artifacts/*.nupkg'
repo-owner: 'tanaka-takayoshi'
gh-user: 'tanaka-takayoshi'
token: ${{ secrets.GITHUB_TOKEN }}