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:Jump to 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....5 Replies
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
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
It builds go code but you can adjust it to build c# code
Oh sorry 😁
I tried with a differnet action: alexellis/[email protected]
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.