randlabs/UploadAssetToRelease
GitHub action to upload assets to existing releases
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 26, 2023
- License
- MIT
Pinned Snippet
uses: randlabs/uploadasset-action@3f8e631952ed242489c360d1c79d7a7fd6e91aa0 # v1.0.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| release_id | The ID of the release where files must be uploaded. | no | — |
| tag | The release tag where files must be uploaded if an ID is not provided. If tag is also empty, the action will try to determine the release id based on the execution context. | no | — |
| files | A multi-line list of files. If an item contains wildcard, a glob search will be executed. | yes | — |
| delete_filemask | If specified, deletes all existing assets that matches any of the wildcard patterns. | no | — |
| overwrite | Tries to overwrite an asset if it already exists. | no | — |
| repo | Target repository in <owner-or-company>/<repository> format. | no | — |
Outputs
| name | description |
|---|---|
| assets | A JSON array containing id and download url of each uploaded asset. |