Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sajari/setup-cue

Setup cuelang in your GitHub Actions workflow
https://github.com/sajari/setup-cue

action actions github-actions

Last synced: about 1 month ago
JSON representation

Setup cuelang in your GitHub Actions workflow

Awesome Lists containing this project

README

        

# Setup CUE

This GitHub Action downloads and installs [`cue`](https://cuelang.org/) so that
it can be used as part of your workflow.

## Inputs

### `version`

Exact version of `cue` to install (cannot be a range or pattern).
Must be a [released version](https://github.com/cuelang/cue/releases).

### `github-token`

GitHub Token to use when downloading the release from GitHub.

## Outputs

### `bin`

Path to the `cue` binary, but will also be made available in `$GITHUB_PATH`.

## Example usage

```yaml
permissions:
contents: read
steps:
- uses: sajari/setup-cue@v1
with:
version: 0.4.0
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: cue version
```