A GitHub action that installs or updates the gh
CLI.
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
.
The token to use for retrieving the release. Can be set to ${{secrets.GITHUB_TOKEN}}
.
Use this if you hit rate limits.
The full version was installed.
uses: step-security/setup-gh-cli-action@v2
with:
version: stable