-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1674241
commit e1f4e01
Showing
6 changed files
with
6,384 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
# 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. | ||
|
||
## Usage | ||
|
||
```yaml | ||
- name: Install GH CLI | ||
uses: dev-hanz-ops/install-gh-cli-action | ||
with: | ||
gh-cli-version: 2.14.2 # optional, see action.yml for current default | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: 'Install GH CLI' | ||
description: 'Download, cache and install the GH CLI to the workspace' | ||
author: 'dev-hanz-ops' | ||
inputs: | ||
gh-cli-version: | ||
description: 'Version of the GitHub-CLI that should be installed' | ||
required: false | ||
default: '2.14.2' | ||
runs: | ||
using: 'node12' | ||
main: 'dist/index.js' |
Oops, something went wrong.