I'm getting a "Specified source 'github' is invalid" error when trying to build and push a NuGet package to GitHub NuGet Packages.
Does anyone know why, or what the source should be? I can't see anything in the GitHub documentation about this value, or even the end URL that will host my packages (I'm hoping it will just show in the packages tab when one is created).
I have just seen that GitHub has Actions now, so you can get your code to build/test when changes are merged. I have also seen that you can now also publish a NuGet package and host it within GitHub too. Looking at the screenshot below, it seems it should be quite easy to do:
It took me a while to realize I needed to create an Action to put this code into, so here is my action code (YAML):
This action runs when I commit, and it all passes until the last line for pushing to GitHub. I get an error on the last line:
The specified source 'github' is invalid. Please provide a valid source