mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
On failure, dump the output of preceding jobs in CI status (#6564)
This commit is contained in:
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@@ -472,6 +472,7 @@ jobs:
|
||||
- compile-tests
|
||||
- clang-tidy
|
||||
- test-build-components
|
||||
- list-components
|
||||
if: always()
|
||||
steps:
|
||||
- name: Success
|
||||
@@ -479,4 +480,8 @@ jobs:
|
||||
run: exit 0
|
||||
- name: Failure
|
||||
if: ${{ contains(needs.*.result, 'failure') }}
|
||||
run: exit 1
|
||||
env:
|
||||
JSON_DOC: ${{ toJSON(needs) }}
|
||||
run: |
|
||||
echo $JSON_DOC | jq
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user