Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sersoft-gmbh/setup-gh-cli-action
A GitHub action that installs or updates the gh CLI
https://github.com/sersoft-gmbh/setup-gh-cli-action
actions cli
Last synced: 3 months ago
JSON representation
A GitHub action that installs or updates the gh CLI
- Host: GitHub
- URL: https://github.com/sersoft-gmbh/setup-gh-cli-action
- Owner: sersoft-gmbh
- License: apache-2.0
- Created: 2023-04-05T07:05:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-12T08:16:16.000Z (3 months ago)
- Last Synced: 2024-08-12T09:39:20.104Z (3 months ago)
- Topics: actions, cli
- Language: TypeScript
- Homepage:
- Size: 637 KB
- Stars: 9
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- jimsghstars - sersoft-gmbh/setup-gh-cli-action - A GitHub action that installs or updates the gh CLI (TypeScript)
README
# Setup GH CLI Action
[![Tests](https://github.com/sersoft-gmbh/setup-gh-cli-action/actions/workflows/tests.yml/badge.svg)](https://github.com/sersoft-gmbh/setup-gh-cli-action/actions/workflows/tests.yml)
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
```yaml
uses: sersoft-gmbh/setup-gh-cli-action@v2
with:
version: stable
```