Skip to content

configu/setup-cli-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

configu/setup-cli-action

Test setup Configu CLI GitHub Actions

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.

Usage

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@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 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 export

Inputs

The action supports the following inputs.

License

This Action is licensed under Apache License 2.0.

References