File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -62,18 +62,24 @@ jobs:
62
62
continue-on-error : true
63
63
with :
64
64
environment-paths : " ${{ toJSON(matrix.env-paths) }}"
65
+ - name : setup status
66
+ shell : bash -l {0}
67
+ run : |
68
+ echo "STATUS=0" >> $GITHUB_ENV
65
69
- name : detect unexpected failures
66
70
if : |
67
71
failure() && ${{ matrix.expected-failure }} == "false"
68
72
shell : bash -l {0}
69
73
run : |
74
+ echo "unexpected failure"
70
75
echo "STATUS=1" >> $GITHUB_ENV
71
76
- name : detect unexpected passes
72
77
if : |
73
78
success() && ${{ matrix.expected-failure }} == "true"
74
79
shell : bash -l {0}
75
80
run : |
76
- echo "STATUS=0" >> $GITHUB_ENV
81
+ echo "unexpected pass"
82
+ echo "STATUS=2" >> $GITHUB_ENV
77
83
- name : evaluate status
78
84
shell : bash -l {0}
79
85
run : |
You can’t perform that action at this time.
0 commit comments