mirror of
https://github.com/earthly/actions-setup.git
synced 2025-01-15 03:58:00 +08:00
c406dd71d6
Introduces a new prerelease input, which defaults to "false"; prereleased versions will only ever be installed when set to "true". Signed-off-by: Alex Couture-Beil <alex@earthly.dev>
24 lines
609 B
YAML
24 lines
609 B
YAML
name: Setup earthly
|
|
description: Installs the Earthly binary
|
|
branding:
|
|
icon: "sunrise"
|
|
color: "green"
|
|
author: Earthly technologies
|
|
inputs:
|
|
version:
|
|
description: "version of earthly to use."
|
|
default: "latest"
|
|
prerelease:
|
|
description: "allow prerelease versions"
|
|
default: "false"
|
|
use-cache:
|
|
description: "whether to use the cache to store earthly or not"
|
|
default: "true"
|
|
github-token:
|
|
description: "GitHub token for fetching Earthly version list."
|
|
runs:
|
|
using: node16
|
|
main: dist/setup/index.js
|
|
post: "dist/cache-save/index.js"
|
|
post-if: inputs.use-cache == 'true'
|