admin管理员组文章数量:1125076
I am trying to publish a NuGet packages to GitHub Packages following the exact steps shown here working-with-the-nuget-registry.
I first added the nuget source
dotnet nuget add source --username <github UserName> --password <PAT Token> --store-password-in-clear-text --name github "/<UserName>/index.json"
But when i try to push the Package using this command
nuget push "bin/Release/<packagename>.1.0.0.nupkg" --api-key <PAT Token> --source github
It gives me this error
Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured.
I tried with giving the access token all the permission and its still not working.
本文标签: Not able to publish a NuGet package to GitHub PackagesStack Overflow
版权声明:本文标题:Not able to publish a NuGet package to GitHub Packages - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736629391a1945743.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论