jaxxstorm/Install a binary from GitHub releases
Install binaries from GitHub releases
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT) | — | ${{ github.token }} |
| repo | GitHub repo where binary is located | yes | — |
| tag | tag containing binary to install | yes | latest |
| digest | SHA256 digest of the release asset. Specify this parameter to verify the integrity of the downloaded asset. | no | — |
| prerelease | Consider prerelease for latest tag | no | false |
| platform | OS Platform to match in release package. Specify this parameter if the repository releases do not follow a normal convention otherwise it will be auto-detected. | no | — |
| arch | OS Architecture to match in release package. Specify this parameter if the repository releases do not follow a normal convention otherwise it will be auto-detected. | no | — |
| extension | Custom file extension to match in release package. Specify this parameter if the repository releases do not provide a .tar.gz or .zip format release. | no | — |
| extension-matching | Enable/disable file extension matching in release package. Specify this parameter if the repository releases do not have a file extension e.g. they are pure binaries. | no | enable |
| rename-to | When installing a release that is not an archive, e.g. a pure binary, this controls how the downloaded release asset is renamed. Specify this parameter if installing a non-archive release. | no | — |
| chmod | When installing a release that is not an archive, e.g. a pure binary, this controls how the downloaded release asset is chmod'd. Specify this parameter if installing a non-archive release and you need to change its permissions e.g. make it executable. | no | — |
| cache | When set to 'enable', caches the downloads of known tags with actions/cache | no | — |
| binaries-location | Specify this parameter if the binaries are not located in the root of the release archive. The parameter should be a relative path to the release archive. For example, if the binaries are located in the 'bin' directory of the release archive, the parameter should be 'bin'. | no | — |
| asset-name | Use this parameter to specify the name of the asset to download if the repo has multiple assets. | no | — |
Outputs
no outputs