'How to upload artifacts to existing release?
My workflow has automatic packaging and upload steps that package build artifacts and upload them to the workflow page. I also manually create releases.
I would like to do the following: when I push to the tag that was created with a given release, I would like to upload the zipped artifact file to that release, so users can download the artifact. Any tips on how to do this ?
Here is my build yaml file.
Thanks!
Solution 1:[1]
Turns out it's dead simple to do this:
- name: upload binaries to release
uses: softprops/action-gh-release@v1
if: ${{startsWith(github.ref, 'refs/tags/') }}
with:
files: build/FOO.zip
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jacko |
