-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (35 loc) · 1.07 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
name: "action-yamler"
description: "A GitHub Action for easily manipulating yaml files."
branding:
icon: edit
color: blue
inputs:
file:
description: "The path to a yaml file"
required: true
path:
description: "The dotted yaml path to edit. Ex: object.item.name or list.0.name"
required: false
set:
description: "The value to set at the path."
required: false
get:
description: "Whether or not to get the value into the output."
required: false
default: "true"
append:
description: "Whether or not the set value is appended or put at the path."
required: false
default: "false"
flat:
description: "Set this to true to work with a single value file. Ex: `workspace/version` contains `1.0.2`."
required: false
default: "false"
outputs:
value_old:
description: "If get is true, holds the value found at path prior to changing it, or an empty string if the path was not found."
value_new:
description: "If get is true, holds the value set at path after changing it."
runs:
using: "node16"
main: "dist/index.js"