-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: dotnet nuget push not working after GitHub packages changes (10/10/22) #12161
Comments
This seems like an issue with GitHub Package Registry: See help in GitHub community: https://github.com/orgs/community/discussions/ Or contact GitHub support: https://support.github.com/request |
Issue is missing Type label, remember to add a Type label |
Hi @dominoFire, I'm not sure this issue was closed correctly:
I'll post in that community link you shared. I will say though I'm quite confused as to how it's possible that GitHub, of all things, doesn't just use GitHub issues like everyone else, and instead redirects people to something completely different 🤷 |
@Sergio0694 The error message you copied here says:
This message is coming from the "server" (GitHub Package Repository), not from NuGet itself. Perhaps NuGet needs to make this more explicit. But in any case, since it's the server that's rejecting the package, it's not a NuGet or .NET SDK issue. A different server implementation would accept the package, so I don't see anything actionable from the NuGet team (except maybe making it more explicit that GitHub/the remote server, is trying to get your attention with a specific message). |
in case anyone is scratching their head trying to fix this, I tracked down @Sergio0694 's github, and saw that he changed the source to the org or user level index, instead of the index for the repo itself in their case it was changing to https://nuget.pkg.github.com/${{github.repository_owner}}/index.json this also works for organizational level builds as well (at least for me), so if you replace repository_owner with your org name, it should work |
NuGet Product Used
dotnet.exe
Product Version
Using 6.0.402 .NET SDK, but don't think it's version specific
Worked before?
Yes, been working fine for months
Impact
I'm unable to use this version (I can't push to GitHub packages at all)
Repro Steps & Context
This is a new issue after dotnet/sdk#28545 was closed and redirected here.
Describe the bug
It seems the new "Consolidated owner and admin role" changes in GitHub packages are causing CI steps pushing to GitHub packages to fail, and I couldn't find a clear explanation on how to fix this through
dotnet nuget push
. See: Sergio0694/ComputeSharp#403. I'm currently using this command:Which so far has always worked just fine. This broke a few days ago following those changes. Is there guidance on how to update scripts using
dotnet nuget push
to account for these recent GitHub changes? Not sure what additional params I should pass, if any.To Reproduce
See this CI run: https://github.com/Sergio0694/ComputeSharp/actions/runs/3242075036/jobs/5315478395.
Exception
Further technical details
The text was updated successfully, but these errors were encountered: