Uploads one or more asset files to a GitHub release.
steps:
- uses: giancosta86/aurora-github/actions/upload-release-assets@v10
with:
release-tag: v3.0.2
files: logo.png data.zip
source-directory: dist
This action calls the gh release upload command to upload the given files.
-
The
release-tag
input must be the tag of an existing release - which could be, for example, therelease-tag
output of the tag-and-release action. -
The
files
input must be passed just like a string of relative file paths on the Bash command line.
Name | Type | Description | Default value |
---|---|---|---|
release-tag |
string | The tag of the target release | |
files |
string | The relative paths of the asset files to upload | |
overwrite |
boolean | Overwrite existing assets in the release | true |
source-directory |
string | Directory containing the files | . |