Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An example action, demonstrating how CLI authors may develop actions that allow setup their of CLIs on GitHub's hosted runners, using JavaScript

License

NotificationsYou must be signed in to change notification settings

github-developer/example-setup-gh

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

About

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.

Usage

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

Inputs

The actions supports the following inputs:

  • version: The version ofgh to install, defaulting to1.2.0

Further reading

For information on Creating a JavaScript action, readthe docs.

License

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

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp