Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 940 Bytes

File metadata and controls

30 lines (23 loc) · 940 Bytes

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" # Can be an exact version or a semver range https://github.com/npm/node-semver#ranges
          token: ${{ secrets.GITHUB_TOKEN }} # Required if a range is specified
      - run: humctl version