-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
56 lines (45 loc) · 1.43 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: 'Ren-C Action'
description: 'Install and/or Invoke Ren-C Interpreter'
# IMPORTANT: All inputs are received as strings, not JavaScript integers or
# booleans. So false here actually reads with `core.getInput()` as "false"
# To reinforce that, all values here are set to look like strings.
#
inputs:
script:
description: 'Script to Run'
required: false
default: ''
# !!! Review making this accept tagged stable versions (if those ever exist!)
#
commit:
description: 'Short Git Hash of Commit To Use'
required: false
default: ''
web:
description: 'Execute Script Code via Browser in the Web REPL'
required: false
default: 'false'
timeout:
description: 'How Long to Run Script (only works for web mode)'
required: false
default: ''
screenshot:
description: 'Browser Screenshot Artifact (only works for web mode)'
required: false
default: ''
checked:
description: 'Checked Build (e.g. With Debug Instrumentation)'
required: false
default: 'false'
outputs:
path:
description: 'Where Ren-C was Installed (or where cache was found)'
runs:
using: 'node12'
# When testing locally, you execute `node src/main.js` manually.
# (Runs with the copy of `node_modules` you get with `npm install`)
#
# GitHub Actions runs the compiled file, since we do not commit
# `node_modules`. This compiled version is only on `release` branch.
#
main: 'dist/index.js'