GitHub Action to install and run the Kubara CLI (also compatible with Forgejo Actions).
steps:
- uses: actions/checkout@v4
- uses: kubara-io/kubara-action@v0.1
with:
version: latest
args: '["generate"]'
working-directory: .To install kubara and use it in later steps:
steps:
- uses: actions/checkout@v4
- uses: kubara-io/kubara-action@v0.1
with:
version: latest
args: '[]'
- name: Run CLI directly
run: kubara --version| Input | Default | Description |
|---|---|---|
version |
latest |
Kubara release version (for example v0.18.0) or latest. |
args |
["generate"] |
CLI arguments as a JSON array of strings. Pass [] to install only. |
working-directory |
. |
Directory in which to run the CLI. |
Apache License 2.0