Skip to content

dotnet nuget push not working after GitHub packages changes (10/10/22) #36230

Discussion options

You must be logged in to vote

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:

dotnet nuget push ./*.nupkg --source "https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json" --api-key ${{ secrets.GITHUB_TOKEN }} --skip-duplicate --no-symbols

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Sergio0694
Comment options

@Sergio0694
Comment options

Answer selected by Sergio0694
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Packages Host your dependencies, libraries, and production-ready code, right from your repository Product Feedback
3 participants