Skip to content

Commit a5a9c66

Browse files
Merge pull request #5 from markmssd/patch-1
Update to Node16
2 parents 2192e24 + 4b20490 commit a5a9c66

File tree

11 files changed

+2858
-152
lines changed

11 files changed

+2858
-152
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ jobs:
2727
prop_path: 'scripts.format'
2828

2929
- run: echo ${{steps.get_json_property.outputs.prop}}
30+
- run: echo ${{steps.get_json_property.outputs.propStr}}

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16.16.0

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,18 @@ Get a nested property value with dot separated prop_path
3737
...
3838

3939
```
40+
41+
Get a property value as string
42+
43+
```yaml
44+
...
45+
- name: get nested property
46+
id: format_script
47+
uses: notiz-dev/github-action-json-property@release
48+
with:
49+
path: 'package.json'
50+
prop_path: 'scripts.format'
51+
- run: echo ${{steps.format_script.outputs.propStr}}
52+
...
53+
54+
```

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
prop_path:
88
description: 'dot separated property key (e.g.: scripts.build)'
99
runs:
10-
using: 'node12'
10+
using: 'node16'
1111
main: 'dist/index.js'
1212
branding:
1313
color: "yellow"

0 commit comments

Comments
 (0)