Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/remarkablemark/github-actions-setup-cli-template
⚙️ Github Actions setup CLI template
https://github.com/remarkablemark/github-actions-setup-cli-template
action actions cli github github-action github-actions setup setup-cli template
Last synced: 24 days ago
JSON representation
⚙️ Github Actions setup CLI template
- Host: GitHub
- URL: https://github.com/remarkablemark/github-actions-setup-cli-template
- Owner: remarkablemark
- License: mit
- Created: 2023-04-09T00:45:47.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-30T07:09:10.000Z (9 months ago)
- Last Synced: 2024-05-01T21:25:39.084Z (9 months ago)
- Topics: action, actions, cli, github, github-action, github-actions, setup, setup-cli, template
- Language: TypeScript
- Homepage:
- Size: 1.01 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# github-actions-setup-cli-template
[![action](https://badgen.net/badge/github/github-actions-setup-cli-template?icon&label)](https://github.com/marketplace/actions/github-actions-setup-cli-template)
[![version](https://badgen.net/github/release/remarkablemark/github-actions-setup-cli-template)](https://github.com/remarkablemark/github-actions-setup-cli-template/releases)
[![build](https://github.com/remarkablemark/github-actions-setup-cli-template/actions/workflows/build.yml/badge.svg)](https://github.com/remarkablemark/github-actions-setup-cli-template/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/remarkablemark/github-actions-setup-cli-template/graph/badge.svg?token=PGPJ2Q8HUO)](https://codecov.io/gh/remarkablemark/github-actions-setup-cli-template)⚙️ GitHub Actions setup CLI template. Inspired by [github-developer/example-setup-gh](https://github.com/github-developer/example-setup-gh). Template from [remarkablemark/github-actions-typescript-template](https://github.com/remarkablemark/github-actions-typescript-template).
## Quick Start
```yaml
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](action.yml)
**Basic:**
```yaml
- uses: remarkablemark/github-actions-setup-cli-template@v1
```## Inputs
### `cli-version`
**Optional**: The CLI [version](https://github.com/cli/cli/releases). Defaults to [`2.49.0`](https://github.com/cli/cli/releases/tag/v2.49.0):
```yaml
- uses: remarkablemark/github-actions-setup-cli-template@v1
with:
cli-version: 2.49.0
```### `cli-name`
**Optional**: The CLI name. Defaults to `gh`:
```yaml
- uses: remarkablemark/github-actions-setup-cli-template@v1
with:
cli-name: gh
```## Contributions
Contributions are welcome!
## License
[MIT](LICENSE)