broadshield/Github Actions Download Release Asset
Download a release asset from a release
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Nov 3, 2022
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: broadshield/github-actions-download-release-asset@f72157dbacb9557e969e9e7872ea496537a53a93 # v1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| github_token | The Github Token to authenticate with | no | ${{ github.token }} |
| tag_name | The version tag to identify the release, or 'latest' | no | latest |
| asset_names | A comma delimited list of asset names to download | no | — |
| path | A path to save the file in, defaults to the github workspace | no | — |
| repository | A named repository in the format Owner\repositoryName | no | — |
| ignore_v_when_searching | When finding a release that matches a tag name, ignores 'v' prefixes on the release | no | true |
| only_check_if_exists | Checks if the file exists without downloading it | no | false |
| do_not_error_if_missing | If the file is missing, do not error | no | false |
Outputs
| name | description |
|---|---|
| file_names | The downloaded file names as json array |
| file_path | The path of the downloaded files |