Skip to content

Commit

Permalink
Merge pull request #41 from rursprung/CI-more-generic-build-results-c…
Browse files Browse the repository at this point in the history
…heck

CI: use more generic version of `build-results`
  • Loading branch information
eldruin authored Mar 3, 2025
2 parents b3a44d8 + ef961cc commit c9b10d2
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,12 @@ jobs:
name: Final Results
if: ${{ always() }}
runs-on: ubuntu-latest
needs: [lib, stm32f4-event-printer]
needs:
- lib
- stm32f4-event-printer
steps:
- name: check for failed builds of the library
if: ${{ needs.lib.result != 'success' }}
run: exit 1
- name: check for failed builds of the example
if: ${{ needs.stm32f4-event-printer.result != 'success' }}
run: exit 1
- name: "check for failed builds"
run: |
cat <<EOF | jq -e 'unique | all(. == "success")'
${{ toJson(needs.*.result) }}
EOF

0 comments on commit c9b10d2

Please sign in to comment.