Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
play

GitHub Action

Install GH CLI

0.0.1

Install GH CLI

play

Install GH CLI

Download, cache and install the GH CLI to the workspace

Installation

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

              

- name: Install GH CLI

uses: dev-hanz-ops/install-gh-cli-action@0.0.1

Learn more about this action in dev-hanz-ops/install-gh-cli-action

Choose a version

Install GH CLI action

Selfhosted runners do not come with the GH CLI out of the box. This action is an easy-to-use way to install it.

Usage

- name: Install GH CLI
  uses: dev-hanz-ops/install-gh-cli-action
  with:
    gh-cli-version: 2.14.2 # optional, see action.yml for current default