File tree 2 files changed +18
-12
lines changed
2 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,16 @@ jobs:
43
43
components : rustfmt
44
44
- run : cargo fmt --all --check
45
45
46
- ci-status :
46
+ ci-success :
47
47
name : Complete
48
48
runs-on : ubuntu-latest
49
49
needs : [test, no_std, fmt]
50
- if : always()
51
50
steps :
52
- - if : ${{ success() }}
53
- run : exit 0
54
- - if : ${{ !success() }}
55
- run : exit 1
51
+ - run : exit 0
52
+ ci-failed :
53
+ name : Complete
54
+ runs-on : ubuntu-latest
55
+ needs : [test, no_std, fmt]
56
+ if : failure()
57
+ steps :
58
+ - run : exit 1
Original file line number Diff line number Diff line change @@ -28,13 +28,16 @@ jobs:
28
28
components : rustfmt
29
29
- run : cargo fmt --all --check
30
30
31
- ci-status :
31
+ ci-success :
32
32
name : Complete
33
33
runs-on : ubuntu-latest
34
34
needs : [test, fmt]
35
- if : always()
36
35
steps :
37
- - if : ${{ success() }}
38
- run : exit 0
39
- - if : ${{ !success() }}
40
- run : exit 1
36
+ - run : exit 0
37
+ ci-failed :
38
+ name : Complete
39
+ runs-on : ubuntu-latest
40
+ needs : [test, fmt]
41
+ if : failure()
42
+ steps :
43
+ - run : exit 1
You can’t perform that action at this time.
0 commit comments