Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
terminal

GitHub Action

Setup Configu CLI

v0.0.3

Setup Configu CLI

terminal

Setup Configu CLI

Install and configure Configu CLI

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Configu CLI

uses: configu/setup-cli-action@v0.0.3

Learn more about this action in configu/setup-cli-action

Choose a version

configu/setup-cli-action

Tests Setup Configu CLI Action

The configu/setup-cli-action action is a JavaScript 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.

Usage

This action can be run on ubuntu-latest, windows-latest, and macos-latest GitHub Actions runners. When running on windows-latest the shell should be set to Bash.

The default configuration installs the latest version of Configu CLI.

steps:
  - uses: configu/setup-cli-action@v1

A specific version of Configu CLI can be installed.

steps:
  - uses: configu/setup-cli-action@v1
    with:
      version: 0.4.4

Credentials for Configu store (app.configu.com) can be configured.

jobs:
  job1:
    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 export --store "configu://-" --set "production" --schema "path/to/schema.cfgu.json"

Inputs

The action supports the following inputs.

License

This Action is licensed under Apache License 2.0.

References