Skip to content

Commit 9835d53

Browse files
committed
Updated info
1 parent a098b7a commit 9835d53

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# JSON to variables
2-
This action reads json file and writes its content as environment variables.
2+
This action reads json file and writes its content as environment variables with optional secret masking.
33

44
## Inputs
55

@@ -11,6 +11,10 @@ This action reads json file and writes its content as environment variables.
1111

1212
The prefix. Default value `json`.
1313

14+
### `masked`
15+
16+
Mask variables as secrets. Default value `false`.
17+
1418
## Usage
1519

1620
### File content

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 'JSON to environment variables'
22
author: 'Roberto García'
3-
description: 'This action reads json file and writes its content as environment variables'
3+
description: 'This action reads json file and writes its content as environment variables with optional secret masking'
44
branding:
55
icon: 'lock'
66
color: 'red'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "json-to-variables",
33
"version": "1.1.0",
4-
"description": "This action reads json file and writes its content as environment variables",
4+
"description": "This action reads json file and writes its content as environment variables with optional secret masking",
55
"main": "index.js",
66
"scripts": {
77
"build": "ncc build index.js --license licenses.txt",

0 commit comments

Comments
 (0)