Because the .nupkg file size got large to the point that when uploading the package to NuGet Gallery or GitHub Package Registry, it fails with either timeout errors or connection reset by peer errors, I have used GitHub Actions as the last resort.
I have implemented the logic where it uploads the resulting package to the NuGet Gallery, and it worked fine with the correct authentication credentials. Now, I am trying to implement the same logic for GitHub Package Registry.
When I am finished, it gets to the last step successfully, and after 2 seconds of upload, it errors out with 500 Bad Request. I was able to upload the older version of the app to the registry locally. I made sure that I have got everything right, including the username and the password.
The current run which failed is here: https://github.com/EoflaOE/Kernel-Simulator/runs/468979442?check_suite_focus=true
How can I overcome this problem?