Skip to content
autifyhq

GitHub Action

Setup Autify Command Line Interface (CLI)

v2.1.2 Latest version

Setup Autify Command Line Interface (CLI)

autifyhq

Setup Autify Command Line Interface (CLI)

Install Autify CLI and add it to PATH

Installation

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

              

- name: Setup Autify Command Line Interface (CLI)

uses: autifyhq/[email protected]

Learn more about this action in autifyhq/actions-setup-cli

Choose a version

actions-setup-cli status

Setup Autify Command Line Interface (CLI)

This action setup Autify Command Line Interface (CLI) so that your workflow can run autify command.

The installed directory will be added to PATH environment variable of your workflow.

Usage

- uses: autifyhq/actions-setup-cli@v2

# Then, `autify` is available
- run: autify --version

Options

Most of the case, no options are needed. When you need more customization, here is the list:

shell-installer-url:
  required: false
  description: "Shell installer URL"
  default: "https://autify-cli-assets.s3.amazonaws.com/autify-cli/channels/stable/install-cicd.bash"

v1

NOTE: v1 is no longer maintained. Please migrate to v2.

- uses: autifyhq/actions-setup-cli@v1
  with:
    # Optional. If specified, the action installs the specific version of Autify CLI.
    # Default: The latest version of the stable channel will be installed. (Recommended)
    version: ""

# Then, `autify` is available
- run: autify --version