File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -100,14 +100,13 @@ jobs:
100
100
name : Final Results
101
101
if : ${{ always() }}
102
102
runs-on : ubuntu-latest
103
- needs : [lib, stm32f4-single-motor-example, clippy]
103
+ needs :
104
+ - lib
105
+ - stm32f4-single-motor-example
106
+ - clippy
104
107
steps :
105
- - name : check for failed builds of the library
106
- if : ${{ needs.lib.result != 'success' }}
107
- run : exit 1
108
- - name : check for failed builds of the example
109
- if : ${{ needs.stm32f4-single-motor-example.result != 'success' }}
110
- run : exit 1
111
- - name : check for failed clippy builds
112
- if : ${{ needs.clippy.result != 'success' }}
113
- run : exit 1
108
+ - name : " check for failed builds"
109
+ run : |
110
+ cat <<EOF | jq -e 'unique | all(. == "success")'
111
+ ${{ toJson(needs.*.result) }}
112
+ EOF
You can’t perform that action at this time.
0 commit comments