Skip to content

GitHub Package Registry and GitHub Actions - 500 Bad Request #26182

Answered by AptiviCEO
AptiviCEO asked this question in Actions
Discussion options

You must be logged in to vote

Turns out that I have to add RepositoryUrl and RepositoryType inside the project file. However, it’s deemed strange as to why would it publish locally on my computer earlier without the two required properties.

I have checked the error message as written in the failed “successful” run, and it says that I have to add them. The error message is written in the CURL output.

X-Nuget-Warning: No destination repository detected. Ensure the source project has a ‘RepositoryUrl’ property defined. If you’re using a nuspec file, ensure that it has a repository element with the required ‘type’ and ‘url’ attributes.

The failed “successful” run: https://github.com/EoflaOE/Kernel-Simulator/runs/478822513…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant