The configu/setup-cli-action action is a composite action that sets up Configu CLI in your GitHub Actions workflow by downloading a specific version of Configu CLI and adding it to the PATH.
After you've used the action, subsequent steps in the same job can run arbitrary Configu CLI commands. All of Configu commands work exactly like they do on your local command line.
This action can be run on ubuntu-* and macos-* GitHub Actions runners.
The default configuration installs the latest version of Configu CLI.
steps:
- uses: configu/setup-cli-action@v1A specific version of Configu CLI can be installed.
steps:
- uses: configu/setup-cli-action@v1
with:
version: 0.4.4Credentials for Configu Platform can be configured.
jobs:
some-job:
runs-on: ubuntu-latest
env:
CONFIGU_ORG: ${{ secrets.CONFIGU_ORG }}
CONFIGU_TOKEN: ${{ secrets.CONFIGU_TOKEN }}
steps:
- name: Setup Configu CLI
uses: configu/setup-cli-action@v1
- name: Export configurations
run: |
configu eval --store 'configu' --set 'production' --schema 'path/to/schema.cfgu.json' | configu exportThe action supports the following inputs.
This Action is licensed under Apache License 2.0.