forked from falti/dotenv-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
32 lines (32 loc) · 958 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
31
32
name: "Dotenv Action"
description: "Load variables from .env file"
branding:
icon: play
color: green
inputs:
path: # id of input
description: "the path to the .env file (including file name)"
required: true
default: ".env"
log-variables:
description: "whether to log the variables to output or not"
required: false
default: "false"
mask-variables:
description: "whether to mask the variables as secrets or not"
required: false
default: "false"
export-variables:
description: "whether to export the variables to the environment or not"
required: false
default: "false"
keys-case:
description: "Transform keys case to lower, upper or keep as it is with bypass"
required: false
default: "lower"
outputs:
generic: # output will be available to future steps
description: "This command will have generic output variables based on .env"
runs:
using: "node16"
main: "dist/index.js"