-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
37 lines (37 loc) · 1.1 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: 'Setup proto and moon toolchains'
author: 'Miles Johnson'
description: 'Installs proto and moon globally when required, and caches the toolchain.'
inputs:
auto-install:
default: 'false'
description: 'Auto-install tools on setup.'
cache:
description: 'Toggle caching of the toolchain directory.'
default: 'true'
cache-base:
description:
'Base branch/ref to save a warmup cache on. Other branches/refs will restore from this base.'
moon-version:
default: ''
description: 'Version of moon to install.'
required: false
proto-version:
default: ''
description: 'Version of proto to install.'
required: false
workspace-root:
default: ''
description: 'Path to the moon workspace root (if in a sub-directory).'
required: false
outputs:
cache-key:
description: 'The cache key used for the toolchain folder (~/.proto).'
cache-hit:
description: 'A boolean to indicate an exact match was found for the cache key.'
runs:
using: 'node20'
main: 'dist/index.js'
post: 'dist/post/index.js'
branding:
icon: 'battery-charging'
color: 'purple'