Skip to content

Setup GitHub CLI

Actions
Installs or updates the GitHub CLI (gh)
v2.0.1
Latest
Star (11)

Tags

 (1)

Setup GH CLI Action

Tests

A GitHub action that installs or updates the gh CLI.

Inputs

version

The gh version to install.
Can also be set to latest to install the latest available version (including prereleases), or stable to install the latest stable release.
Defaults to stable.

github-token

The token to use for retrieving the release. Can be set to ${{secrets.GITHUB_TOKEN}}.
Use this if you hit rate limits.

Outputs

full-version

The full version was installed.

Example Usage

uses: sersoft-gmbh/setup-gh-cli-action@v2
with:
  version: stable

Setup GitHub 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

Installs or updates the GitHub CLI (gh)
v2.0.1
Latest

Tags

 (1)

Setup GitHub 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.