This action allows you to install a CLI built with goreleaser in GitHub Actions
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
# This is not a real CLI. Switch the `with` values to your own repository
- uses: mheap/setup-go-cli@v1
with:
owner: mheap
repo: demo-cli
cli_name: demo
- run: demo versionYou can also specific a specific version to install with the version input:
- uses: mheap/setup-go-cli@v1
with:
owner: mheap
repo: demo-cli
cli_name: demo
version: 1.2.3