dotnet nuget push not working after GitHub packages changes (10/10/22) #36230
-
Posting here after dotnet/sdk#28545 and NuGet/Home#12161 have been closed. NuGet Product Useddotnet.exe Product VersionUsing 6.0.402 .NET SDK, but don't think it's version specific Worked before?Yes, been working fine for months ImpactI'm unable to use this version (I can't push to GitHub packages at all) Repro Steps & ContextThis is a new issue after dotnet/sdk#28545 was closed and redirected here. Describe the bugIt 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
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 To ReproduceSee this CI run: https://github.com/Sergio0694/ComputeSharp/actions/runs/3242075036/jobs/5315478395. Exception
Further technical details
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You have used the wrong nuget package source url: You need to use https://nuget.pkg.github.com/Sergio0694/index.json, this worked for me two days ago with my own repo ( https://github.com/ChristopherHX/runner.server/actions/runs/3243655185/jobs/5318681676#step:10:1 ). I use this in actions:
|
Beta Was this translation helpful? Give feedback.
-
Hey there @Sergio0694 and thank you for asking a good question! I'm glad you found our community 🙂 |
Beta Was this translation helpful? Give feedback.
You have used the wrong nuget package source url:
You used
https://nuget.pkg.github.com/ComputeSharp/index.json
, but ComputeSharp is not the owner of your ComputeSharp repository. No idea why it worked before.You need to use https://nuget.pkg.github.com/Sergio0694/index.json, this worked for me two days ago with my own repo ( https://github.com/ChristopherHX/runner.server/actions/runs/3243655185/jobs/5318681676#step:10:1 ).
I use this in actions: