How to create a GitHub Action that upload assets to a existing/new release?

I am working on a C# project and trying to create a GitHub Action that handles building project, creating a zip and then uploading it to a existing release.
Solution:
Thank You @Utilyre So much. Got it running. Didn't used any of pre-built actions instead just used gh cli, to upload binaries in existing release. makes it way similar. But still, thank you replying and helping....
Jump to solution
5 Replies
Utilyre
Utilyre2w ago
You can use this github action to create a new release with assets https://github.com/softprops/action-gh-release
GitHub
GitHub - softprops/action-gh-release: 📦 GitHub Action for creating ...
📦 :octocat: GitHub Action for creating GitHub Releases - GitHub - softprops/action-gh-release: 📦 GitHub Action for creating GitHub Releases
Utilyre
Utilyre2w ago
Feel free to copy paste from the CD workflow i wrote a while ago for creating github releases with changelog, parallel builds, etc https://github.com/utilyre/summer/blob/main/.github/workflows/cd.yaml
GitHub
summer/.github/workflows/cd.yaml at main · utilyre/summer
🔥 High-performance utility for generating checksums in parallel - utilyre/summer
Utilyre
Utilyre2w ago
It builds go code but you can adjust it to build c# code Oh sorry 😁
Sameer
SameerOP2w ago
I tried with a differnet action: alexellis/[email protected]
Solution
Sameer
Sameer2w ago
Thank You @Utilyre So much. Got it running. Didn't used any of pre-built actions instead just used gh cli, to upload binaries in existing release. makes it way similar. But still, thank you replying and helping.

Did you find this page helpful?