File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 20
20
uses : ./.github/actions/setup-node-install-deps
21
21
22
22
- name : Swagger Model Validation
23
+ id : swagger-model-validation
23
24
run : |
25
+ echo "summary=$GITHUB_STEP_SUMMARY" >> "$GITHUB_OUTPUT"
24
26
npm exec --no -- oav-runner examples
27
+
28
+ # Used by other workflows like set-status
29
+ - name : Set job-summary artifact
30
+ if : ${{ always() && steps.swagger-model-validation.outputs.summary }}
31
+ uses : actions/upload-artifact@v4
32
+ with :
33
+ name : job-summary
34
+ path : ${{ steps.swagger-model-validation.outputs.summary }}
35
+ # If the file doesn't exist, just don't add the artifact
36
+ if-no-files-found : ignore
Original file line number Diff line number Diff line change 20
20
uses : ./.github/actions/setup-node-install-deps
21
21
22
22
- name : Swagger Semantic Validation
23
+ id : swagger-semantic-validation
23
24
run : |
25
+ echo "summary=$GITHUB_STEP_SUMMARY" >> "$GITHUB_OUTPUT"
24
26
npm exec --no -- oav-runner specs
27
+
28
+ # Used by other workflows like set-status
29
+ - name : Set job-summary artifact
30
+ if : ${{ always() && steps.swagger-semantic-validation.outputs.summary }}
31
+ uses : actions/upload-artifact@v4
32
+ with :
33
+ name : job-summary
34
+ path : ${{ steps.swagger-semantic-validation.outputs.summary }}
35
+ # If the file doesn't exist, just don't add the artifact
36
+ if-no-files-found : ignore
You can’t perform that action at this time.
0 commit comments