Push to Github packages doesn't work
See original GitHub issueDescribe the bug
Dotnet NuGet Push
step in the Push GitHub Packages
completes with the error.
Run $count = 0;
$count = 0;
do {
++$count;
dotnet nuget push .\windows-latest\*.nupkg --source GitHub --skip-duplicate;
}
while ($count -lt 30 -and $LastExitCode -ne 0)
shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
MINVERBUILDMETADATA: build.4
warn : No API Key was provided and no API Key could be found for 'https://nuget.pkg.github.com/sharok'. To save an API Key for a source use the 'setApiKey' command.
Pushing testnuget.0.0.0-preview.0.3.nupkg to 'https://nuget.pkg.github.com/sharok'...
PUT https://nuget.pkg.github.com/sharok/
NotFound https://nuget.pkg.github.com/sharok/ 192ms
error: Response status code does not indicate success: 404 (Not Found).
To Reproduce
Just created a project to test and didn’t make any changes except in matrix.os
to build on windows only.
Expected behaviour
A clear and concise description of what you expected to happen.
Project template
Nuget template. Have no idea how to check the installed version, but it latest. Installed today.
Environment
VS: 2019 SDK: 3.1.401
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
npm - Can't push a package to Github
I'm trying setup Github Packages for a NPM project but I'm running into some issues.. ... The code in the my-orgname/my-repo-name repo contains...
Read more >dotnet nuget push not working after ...
Describe the bug It seems the new "Consolidated owner and admin role" changes in GitHub packages are causing CI steps pushing to GitHub ......
Read more >Pushing image to new GitHub Container Repository Doesn ...
I have an example workflow includes two jobs (see here):. publish_to_GPDR: Build and publish imgae to GitHub Packages Docker Registry (GPDR).
Read more >Does not publish to GitHub packages but ...
I ran my github actions to create a container on dockerhub and github, but only the dockerhub image appears. There is no error...
Read more >dotnet nuget push not working after GitHub packages ...
Describe the bug. It seems the new "Consolidated owner and admin role" changes in GitHub packages are causing CI steps pushing to GitHub ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm that before I was unable to publish to github, it now succeeds (still after a bunch of tries though)
GitHub have done something to make it much more reliable. It’s still not 100% but fails a lot less. So I say we stick to the current workaround of trying 1000 times to push the package until it gets fixed completely.