- Notifications
You must be signed in to change notification settings - Fork9
An example action, demonstrating how CLI authors may develop actions that allow setup their of CLIs on GitHub's hosted runners, using JavaScript
License
github-developer/example-setup-gh
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An example action, demonstrating how CLI authors may develop actions that allow setup their of CLIs on GitHub's hosted runners, using JavaScript
This action, which is intendedfor demonstration use only, sets up the GitHub CLI,gh
, on GitHub's hosted Actions runners.
This action can be run onubuntu-latest
,windows-latest
, andmacos-latest
GitHub Actions runners, and will install and expose a specified version of thegh
CLI on the runner environment.
Setup thegh
CLI:
steps:-uses:github-developer/setup-gh@v1
A specific version of thegh
CLI can be installed:
steps:-uses:github-developer/setup-gh@v1with:version:1.1.0
The actions supports the following inputs:
version
: The version ofgh
to install, defaulting to1.2.0
For information on Creating a JavaScript action, readthe docs.
MIT.
About
An example action, demonstrating how CLI authors may develop actions that allow setup their of CLIs on GitHub's hosted runners, using JavaScript
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Uh oh!
There was an error while loading.Please reload this page.