Selfhosted runners do not come with the GH CLI out of the box. This action is an easy-to-use way to install it.
As of now, only linux amd64 is supported.
- name: Install GH CLI
uses: dev-hanz-ops/install-gh-cli-action@v0.2.0
with:
gh-cli-version: 2.32.0 # optional, see action.yml for current default