https://github.com/isometry/setup-generic-tool
https://github.com/isometry/setup-generic-tool
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/isometry/setup-generic-tool
- Owner: isometry
- License: bsd-3-clause
- Created: 2024-10-30T13:31:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-17T13:32:34.000Z (about 1 year ago)
- Last Synced: 2025-02-17T14:28:21.424Z (about 1 year ago)
- Language: Shell
- Size: 364 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `setup-generic-tool` action
The `isometry/setup-generic-tool` action is designed to make the use of generic third-party tooling available via GitHub Releases as simple, streamlined and performant as possible within your workflows.
## Features
* Fully exploits GitHub Runners' Tool Cache mechanism
* Automatic version resolution
## Inputs
### `name` input
**Required** GitHub repository of the desired tool (example: `owner/repo`)
### `tool` input
**Optional** Override tool name, if it doesn't match the repo name
### `version` input
**Optional** Version of tool to install (default: `latest`; example: `v1.2.3`)
## Outputs
### `version` output
The version of tool actually installed.
## Example usage
```yaml
name: example
on:
push:
branches: [main]
jobs:
example:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- uses: isometry/setup-generic-tool@v1
with:
name: chainguard-dev/apko
- run: |
apko version
```