Skip to content

humanitec/setup-hctl

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

Repository files navigation

setup-hctl

A GitHub action for installing the Humanitec hctl binary within a workflow.

Usage

name: ci

on:
  push:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - uses: humanitec/setup-hctl@v1
        with:
          # Can have the format "1", "1.36", "1.36.7", or a semver range https://github.com/npm/node-semver#ranges
          # Check https://github.com/humanitec/hctl/releases for available versions
          version: "1"
          # The token is required if a range is specified
          token: ${{ secrets.GITHUB_TOKEN }}
      - run: hctl --version
  • Checkout the Documentation for more installation and usage examples of the CLI.

About

Reusable GitHub action for installing the hctl binary within a workflow

Resources

License

Stars

Watchers

Forks

Packages

No packages published