electionguard-cpp icon indicating copy to clipboard operation
electionguard-cpp copied to clipboard

🚀. Publish to GitHub Nuget Registry in Release Workflow

Open keithrfung opened this issue 4 years ago • 4 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Suggestion

Add the nuget package to be released on GitHub in addition to Nuget.org. This should be added to the release workflow. This could likely be done with an action just following the nuget publish.

The step should follow this step in the release: https://github.com/microsoft/electionguard-cpp/blob/99788bc9fb76ee2293e9b131965b91b85ba6fee3/.github/workflows/release.yml#L135-L137

Helpful Docs: https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry

Possible Implementation

No response

Anything else?

No response

keithrfung avatar Oct 21 '21 14:10 keithrfung

Hello @keithrfung, I would like to work on this too.

avinal avatar Oct 22 '21 03:10 avinal

@avinal assigned.

keithrfung avatar Oct 25 '21 14:10 keithrfung

Hello @keithrfung, I tried a lot of tricks and workarounds but it won't push to GitHub Nuget Registry. I found some discussions and it seems GitHub Packages for Nuget is not behaving as expected, most of the people are having the same problem. I have listed some discussions.

  • https://github.community/t/unable-pushing-nuget-package-to-github-packages-with-the-expected-resource-was-not-found/14504
  • https://github.com/NuGet/Home/issues/9775
  • https://chamindac.blogspot.com/2020/11/resolving-response-status-code-does-not.html

I have tried everything except modifying the Nuget config file. Since I couldn't find one in the repo. I have also contacted GitHub about the same. I will get back onto it if I receive some response.

You may see my tries here: https://github.com/avinal/electionguard-cpp/actions

avinal avatar Oct 27 '21 14:10 avinal

@avinal Thanks for the followup.

keithrfung avatar Dec 02 '21 15:12 keithrfung