paweb88/Fetch Github Release Asset as Composite Actions
Downloads an asset from a Github release
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 15, 2021
- License
- MIT
Pinned Snippet
uses: paweb88/fetch-gh-release-asset-composite@2b01afb54cc21eddf0919952b382618d79e5447c # 0.2tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repo | The `org/repo` containing the release. | no | "" |
| version | The release version to fetch from in the form `tags/<tag_name>` or `<release_id>`. | no | latest |
| file | The name of the file to be downloaded. | yes | — |
| target | Target file path. | no | — |
| token | The GitHub token. Typically this will be secrets.GITHUB_TOKEN | yes | — |
Outputs
| name | description |
|---|---|
| version | The version of the release or tag |
| name | The name of the release |
| body | The body of the release |