We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
build-results
1 parent b3a44d8 commit ef961ccCopy full SHA for ef961cc
.github/workflows/CI.yml
@@ -88,11 +88,12 @@ jobs:
88
name: Final Results
89
if: ${{ always() }}
90
runs-on: ubuntu-latest
91
- needs: [lib, stm32f4-event-printer]
+ needs:
92
+ - lib
93
+ - stm32f4-event-printer
94
steps:
- - name: check for failed builds of the library
- if: ${{ needs.lib.result != 'success' }}
95
- run: exit 1
96
- - name: check for failed builds of the example
97
- if: ${{ needs.stm32f4-event-printer.result != 'success' }}
98
+ - name: "check for failed builds"
+ run: |
+ cat <<EOF | jq -e 'unique | all(. == "success")'
+ ${{ toJson(needs.*.result) }}
99
+ EOF
0 commit comments