-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathaction.yml
More file actions
20 lines (20 loc) · 732 Bytes
/
action.yml
File metadata and controls
20 lines (20 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: 'Store variables'
description: 'Easily persist and read variables to reuse them between GitHub Action jobs'
branding:
icon: bookmark
color: red
inputs:
variables:
description: 'Write variable: `VAR=VALUE` | Read variable: `VAR`'
required: true
delimiter:
description: 'Regex delimiter between each variable'
required: false
default: "\\r?\\n" # Regex splitting line with a '\n' or '\r'. They also need to be escaped, as they are special chars.
failIfNotFound:
description: "If true, will throw an error (and crash CI) when attempting to read a variable that doesn't exist in the store"
required: false
default: 'false'
runs:
using: 'node20'
main: 'github-action-runtime/index.js'