Sets up the Kosli CLI for GitHub Actions runners
This action sets up the Kosli CLI, on GitHub's hosted Actions runners.
This action can be run on ubuntu-latest
, windows-latest
, and macos-latest
GitHub Actions runners,
and will install and expose a specified version of the kosli
CLI on the runner environment.
Setup the kosli
CLI:
steps:
- uses: kosli-dev/setup-cli-action@v2
A specific version of the kosli
CLI can be installed:
steps:
- name: setup-kosli-cli
uses: kosli-dev/setup-cli-action@v2
with:
version:
2.11.0
The actions supports the following inputs:
version
: The version ofkosli
to install, defaulting to2.11.0
- KOSLI_API_TOKEN: set the Kosli API token.
- KOSLI_ORG: set the Kosli Flow Org.
jobs:
example:
runs-on: ubuntu-latest
env:
KOSLI_API_TOKEN: ${{ secrets.MY_KOSLI_API_TOKEN }}
KOSLI_ORG: my-org
steps:
- name: Setup kosli
uses: kosli-dev/setup-cli-action@v2
# uncomment below to install a specific version
# with:
# version: 2.11.2
- name: create flow
run: |
kosli create flow my-flow --use-empty-template
MIT.