1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
# zsv/setup-action
[](https://github.com/liquidaty/zsv/actions/workflows/setup-action.yml)
[GitHub Action](https://docs.github.com/en/actions) to set up zsv+zsvlib.
Supports Linux, macOS, and Windows runners.
## Usage
### Inputs
| Input | Required | Default | Description |
| :-------: | :------: | :------: | :------------------------- |
| `version` | `false` | `latest` | Version/tag of the release |
### Outputs
| Output | Description |
| :------------: | :------------------------------------------ |
| `install-path` | Absolute path of the installation directory |
Under the installation directory, the subdirectories will include:
- `bin`: `zsv`/`zsv.exe` executable
- `include`: header files
- `lib`: `libzsv` library file
### Example
Set up the latest version:
```yml
- name: Set up zsv+zsvlib
uses: liquidaty/zsv/setup-action@main
```
Set up a specific version:
```yml
- name: Set up zsv+zsvlib
uses: liquidaty/zsv/setup-action@main
with:
version: '1.0.0'
```
|