Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cue-lang/setup-cue
https://github.com/cue-lang/setup-cue
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cue-lang/setup-cue
- Owner: cue-lang
- License: apache-2.0
- Created: 2021-12-19T05:56:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-20T17:30:43.000Z (9 months ago)
- Last Synced: 2024-07-19T00:40:06.737Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 396 KB
- Stars: 32
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cue - setup-cue - GitHub actions workflow to install a specific version of CUE on your runner. (Projects)
README
# `setup-cue`
***Install a specific [CUE](https://cuelang.org) CLI version on your GitHub
Actions runner***Use this action in your GitHub Actions workflow to install a specific version of
[CUE](https://cuelang.org) on your runner. The input `version` is a
[version](https://go.dev/ref/mod#versions) string like `v0.6.0`, or
`v0.6.0-beta.1`. You can also use the version query `latest` (default) to use
the latest release of `cue`. Releases and pre-releases of `cue` are listed
[here](https://github.com/cue-lang/cue/releases).```
- uses: cue-lang/[email protected]
with:
version: '' # default is latest
id: install
```The input and output schemas are best described using CUE itself:
```cue
#inputs: {
// Version of CUE
version: *"latest" | string
}#outputs: {
// Path to the cached CUE binary
"cuectl-path": string
}
```Please refer to [`action.yml`](action.yml) for more details.
The cached `cue` binary path is prepended to the `PATH` environment variable and
can be executed directly in later workflow steps. It is also stored in the
`cuectl-path` output variable.## Issues/Discussions
Please use the [main CUE repository](https://github.com/cue-lang/cue/issues) to
raise issues or start discussions about the `setup-cue` action.## Contributing
This project follows the [CUE Contribution
Guide](https://github.com/cue-lang/cue/blob/master/CONTRIBUTING.md).## Thanks
An initial version of this project was graciously donated to the CUE project by
[Christian Bargmann](https://github.com/cbrgm) and the folks from [MOIA
GmbH](https://github.com/moia-oss).