Skip to content

Commit d02f281

Browse files
author
zoeying
committed
Update test.yml
1 parent f921ced commit d02f281

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

.github/workflows/test.yml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,27 @@ jobs:
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}}

0 commit comments

Comments
 (0)