Skip to content

kivra-pauoli/install-gh-cli-action

 
 

Repository files navigation

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. Also support automatically installing the latest release.

Specific Release

- name: Install GH CLI
  uses: alexnorell/install-gh-cli-action
  with:
    cli-release: v2.24.3
    gh-platform: linux
    gh-arch: amd64

Latest Release

- name: Install GH CLI
  uses: alexnorell/install-gh-cli-action
  with:
    cli-release: latest
    gh-platform: linux
    gh-arch: amd64

Variables

Variable Description Default
cli-release Version of the GH CLI to install latest
platform Platform to use for the binary linux
arch CPU Architecture for the binary amd64

About

Action to Install the (cached) gihub cli

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%