Skip to content

Commit c2f6725

Browse files
committed
ci: test
1 parent dd56eb4 commit c2f6725

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/test.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
run: exit 0
3636
continue-on-error: true
3737
- id: step2
38-
run: exit 0
39-
continue-on-error: true
40-
- if: contains(steps.*.outcome, 'failure')
4138
run: exit 1
39+
continue-on-error: true
40+
- name: 'Fail this job if any step has failed'
41+
if: contains(steps.*.outcome, 'failure')
42+
run: |
43+
echo "::error title=hoge::${{ toJson(steps) }}"

0 commit comments

Comments
 (0)