generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
30 lines (30 loc) · 939 Bytes
/
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
name: 'json-array-builder'
description: 'Build JSON array to be used in dynamic matrix job'
branding:
color: blue
icon: align-justify
author: 'kanga333'
inputs:
str:
required: false
description: |
String to split by separator to build JSON array.
str cannot be used with cmd at the same time.
cmd:
required: false
description: |
Execute the given command and use the stdout to split by separator to build JSON array.
str cannot be used with cmd at the same time.
separator:
required: false
default: 'newline'
description: |
String to separate a given input.
If you need to separate by '\n', please specify the value as 'newline'.
Also, if you need to separate by ' ', please specify the value as 'space'.
json_array:
required: false
description: If given JSON array string, this action appends to it.
runs:
using: 'node16'
main: 'dist/index.js'