File tree 1 file changed +23
-6
lines changed
1 file changed +23
-6
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: test
2
2
on :
3
3
push :
4
4
branches : ["**"]
5
+ pull_request :
5
6
workflow_dispatch :
6
7
inputs : # null for another event
7
8
skip :
@@ -11,14 +12,30 @@ permissions: {}
11
12
12
13
jobs :
13
14
test1 :
14
- if : >
15
- true
16
15
runs-on : ubuntu-latest
17
16
steps :
18
- - run : |
17
+ - run : exit 1
18
+ continue-on-error : true
19
+ - run : exit 1
20
+ continue-on-error : true
21
+ - run : exit 1
22
+ continue-on-error : true
19
23
test2 :
20
- if : >-
21
- true
22
24
runs-on : ubuntu-latest
23
25
steps :
24
- - run : ' '
26
+ - run : exit 1
27
+ continue-on-error : true
28
+ - run : exit 1
29
+ continue-on-error : true
30
+ - run : exit 0
31
+ test3 :
32
+ runs-on : ubuntu-latest
33
+ steps :
34
+ - id : step1
35
+ run : exit 0
36
+ continue-on-error : true
37
+ - id : step2
38
+ run : exit 0
39
+ continue-on-error : true
40
+ - if : contains(steps.*.outcome, 'failure')
41
+ run : exit 1
You can’t perform that action at this time.
0 commit comments