-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
31 lines (30 loc) · 1011 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: 'envarfiles'
description: 'Loads env variables from JSON, YAML and Plain text files. Supports properties nesting from structured formats (json, yaml)'
inputs:
override:
description: 'set to true to override existing workflow variables with definitions from the file(s)'
required: true
default: 'false'
paths:
description: 'path(s) to the file(s) where the variables are defined'
required: true
default: 'project.vars.properties'
select:
description: 'list of variables to import, when empty import all discovered variables'
required: true
default: ''
separator:
description: 'defines the separator for nested defintions loaded from structures formats (json, yaml, ...)'
reruired: true
default: '_'
branding:
icon: 'file-text'
color: 'orange'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- separator=${{ inputs.separator }}
- override=${{ inputs.override }}
- paths=${{ inputs.paths }}
- select=${{ inputs.select }}