GitHub Action
Setup balena CLI Action
v0.0.6
Latest version
This action installs the balena CLI in your GitHub Actions workflow for interactions with balenaCloud like pushing releases.
uses: balena-io-examples/setup-balena-action@main
with:
# balena CLI version to install (example: `v18.1.9`)
# Default: 'latest'
cli-version: ''
# balenaCloud API token to login automatically
# Default: ''
balena-token: ''
# Skip using the tool cache and always re-download
# Default: 'false'
skip-cache: ''
- name: Setup balena CLI
uses: balena-io-examples/setup-balena-action@main
- name: Setup balena CLI
uses: balena-io-examples/setup-balena-action@main
with:
cli-version: v18.1.9
- name: Setup balena CLI
uses: balena-io-examples/setup-balena-action@main
with:
balena-token: "*****"
- name: Setup balena CLI
uses: balena-io-examples/setup-balena-action@main
env:
BALENARC_BALENA_URL: balena-staging.com
with:
balena-token: "*****"
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup balena CLI
uses: balena-io-examples/setup-balena-action@main
with:
balena-token: "*****"
- name: Push release
run: balena push myorg/myfleet