File tree Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Expand file tree Collapse file tree 1 file changed +20
-21
lines changed Original file line number Diff line number Diff line change 77 test :
88 runs-on : ubuntu-latest
99 steps :
10- - name : Checkout
11- uses : actions/checkout@v3
12- with :
13- path : " ./"
10+ - name : Checkout
11+ uses : actions/checkout@v4
12+ with :
13+ path : " ./"
1414
15- - name : get properties
16- id : json_properties
17- uses : ./
18- with :
19- file_path : ' package.json'
15+ - name : get properties
16+ id : json_properties
17+ uses : ./
18+ with :
19+ file_path : " package.json"
2020
21- - run : |
22- echo ${{steps.json_properties.outputs.name}}
23- echo ${{steps.json_properties.outputs.version}}
24-
25- - name : get specified property
26- id : repository_type
27- uses : ./
28- with :
29- file_path : ' package.json'
30- prop_path : ' repository.type'
21+ - run : |
22+ echo ${{steps.json_properties.outputs.name}}
23+ echo ${{steps.json_properties.outputs.version}}
3124
32- - run : |
33- echo ${{steps.repository_type.outputs.value}}
25+ - name : get specified property
26+ id : repository_type
27+ uses : ./
28+ with :
29+ file_path : " package.json"
30+ prop_path : " repository.type"
3431
32+ - run : |
33+ echo ${{steps.repository_type.outputs.value}}
You can’t perform that action at this time.
0 commit comments