Skip to content
play

GitHub Action

setup-cue

v1.1.0 Latest version

setup-cue

play

setup-cue

Sets up an environment with CUE

Installation

Copy and paste the following snippet into your .yml file.

              

- name: setup-cue

uses: sajari/[email protected]

Learn more about this action in sajari/setup-cue

Choose a version

Setup CUE

This GitHub Action downloads and installs cue 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.

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

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