Skip to content

Install GH CLI

Actions
Download, cache and install the GH CLI to the workspace
v0.2.1
Latest
Star (17)

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.

Supports linux on amd64 and arm64 architectures.

Usage

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

Development

  1. Develop feature in the src/ directory.
  2. Bundle the source code and dependencies by executing npm run build.

Install GH CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Download, cache and install the GH CLI to the workspace
v0.2.1
Latest

Install GH CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.