Skip to content

remarkablemark/github-actions-setup-cli-template

Repository files navigation

github-actions-setup-cli-template

action version build codecov

⚙️ GitHub Actions setup CLI template. Inspired by github-developer/example-setup-gh. Template from remarkablemark/github-actions-typescript-template.

Quick Start

name: github-actions-setup-cli-template
on: push
jobs:
  github-actions-setup-cli-template:
    runs-on: ubuntu-latest
    steps:
      - name: Setup github-actions-setup-cli-template
        uses: remarkablemark/github-actions-setup-cli-template@v1

Usage

See action.yml

Basic:

- uses: remarkablemark/github-actions-setup-cli-template@v1

Inputs

cli-version

Optional: The CLI version. Defaults to 2.49.0:

- uses: remarkablemark/github-actions-setup-cli-template@v1
  with:
    cli-version: 2.49.0

cli-name

Optional: The CLI name. Defaults to gh:

- uses: remarkablemark/github-actions-setup-cli-template@v1
  with:
    cli-name: gh

Contributions

Contributions are welcome!

License

MIT