actions-marketplace-validations/Fetch Github Release Asset
Downloads an asset from a Github release
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Apr 26, 2024
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/dsaltares_fetch-gh-release-asset@aa2ab1243d6e0d5b405b973c89fa4d06a2d0fff7 # no releases — HEAD as of 2026-07-10tags 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 | no | ${{ github.token }} |
| regex | Use regex for file input | no | false |
| octokitBaseUrl | The Github API base URL. Useful if you are using Github Enterprise. | no | — |
Outputs
| name | description |
|---|---|
| version | The version of the release or tag |
| name | The name of the release |
| body | The body of the release |