Skip to content

gh cli setup action

Compare
Choose a tag to compare
@ksivamuthu ksivamuthu released this 16 Aug 09:01
· 13 commits to main since this release
1ef6eee

This release contains the github action installing gh cli in self-hosted runners. The gh cli is available in the github hosted cloud runners. In self-hosted runners, if you want to use the gh cli, you can use this action to install the gh cli.

Usage

To install the gh cli, use the actions as below:

 build:
   runs-on: [self-hosted]
   steps:
     - uses: actions/checkout@v2
     - name: Install the gh cli
       uses: ksivamuthu/gh-cli-action
       with:
         version: 2.12.1
     - run: |
         gh version