[CI] Fail workflow if there were build failures (#23678)

More whack-a-mole
This commit is contained in:
Nick Brassel 2024-05-07 19:02:16 +10:00 committed by GitHub
parent a58906ceb3
commit 69640365f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,7 +117,7 @@ jobs:
files: firmwares/.failed files: firmwares/.failed
- name: Fail build if needed - name: Fail build if needed
if: steps.check_failure_marker.outputs.exists == 'true' if: steps.check_failure_marker.outputs.files_exists == 'true'
run: | run: |
# Exit with failure if the compilation stage failed # Exit with failure if the compilation stage failed
exit 1 exit 1