jcwillox/Install Tool
Install any tool or binary with full cache, dynamic latest version, easy to configure and has presets.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| preset | Preset to use for the tool | — | — |
| version | Version of the tool to install | — | latest |
| id | Id to use for tool cache when not using `preset` or `repo` | — | — |
| repo | Repository to use for defaults | — | — |
| version_url | URL to fetch the latest version from | — | — |
| version_path | JSON path like expression to extract version from the response | — | — |
| version_regex | Regex to extract the version from the response | — | (?<version>[\d.]+) |
| download_url | URL to download the tool from | — | — |
| download_name | Rename the downloaded file, does not work with archives | — | — |
| bin_path | Sub-path of downloaded archive to add to PATH | — | — |
| cache | Disable use of the tool cache | — | true |
| token | Token to use for GitHub API requests | — | — |
Outputs
| name | description |
|---|---|
| path | Path to the tool |
| version | Version of the tool |