Install lokex-cli in GitHub Actions workflows on Linux and Windows runners.
- Supports Linux and Windows
- Installs
latest,0.2.0, orv0.2.0 - Optionally adds the install directory to
PATH - Exposes
install-dirandbin-pathoutputs - Uses pinned upstream installer scripts with checksum verification
| Name | Description | Required | Default |
|---|---|---|---|
repo |
GitHub repository in owner/name format |
No | bodrovis/lokex-cli |
bin-name |
Binary name to install | No | lokex-cli |
version |
Release version to install: latest, 0.2.0, or v0.2.0 |
No | latest |
install-dir |
Install directory override | No | "" |
add-to-path |
Add the install directory to PATH for subsequent steps |
No | true |
| Name | Description |
|---|---|
install-dir |
Resolved install directory |
bin-path |
Full path to the installed binary |
steps:
- uses: actions/checkout@v6
- name: Install lokex-cli
uses: bodrovis/install-lokex-cli@v1
- name: Check version
shell: bash
run: lokex-cli version(c) Elijah S. Krukowski. Licensed under BSD 3-Clause