mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
On failure, dump the output of preceding jobs in CI status (#6564)
This commit is contained in:
parent
197f9d6d03
commit
2fed6955de
1 changed files with 6 additions and 1 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -472,6 +472,7 @@ jobs:
|
||||||
- compile-tests
|
- compile-tests
|
||||||
- clang-tidy
|
- clang-tidy
|
||||||
- test-build-components
|
- test-build-components
|
||||||
|
- list-components
|
||||||
if: always()
|
if: always()
|
||||||
steps:
|
steps:
|
||||||
- name: Success
|
- name: Success
|
||||||
|
@ -479,4 +480,8 @@ jobs:
|
||||||
run: exit 0
|
run: exit 0
|
||||||
- name: Failure
|
- name: Failure
|
||||||
if: ${{ contains(needs.*.result, 'failure') }}
|
if: ${{ contains(needs.*.result, 'failure') }}
|
||||||
run: exit 1
|
env:
|
||||||
|
JSON_DOC: ${{ toJSON(needs) }}
|
||||||
|
run: |
|
||||||
|
echo $JSON_DOC | jq
|
||||||
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue