Skip to content
check-square

GitHub Action

Setup Humanitec CLI

v1.1.1 Latest version

Setup Humanitec CLI

check-square

Setup Humanitec CLI

GitHub Action to set up the Humanitec CLI

Installation

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

              

- name: Setup Humanitec CLI

uses: humanitec/[email protected]

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

Choose a version

setup-cli-action

GitHub Action to set up the Humanitec CLI.

Usage

name: ci

on:
  push:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Setup Humanitec CLI
        uses: humanitec/setup-cli-action@v1
        with:
          # Check https://github.com/humanitec/cli/releases for available versions
          version: "0.17.0"
      - run: humctl version