mirror of
https://github.com/qmk/.github.git
synced 2026-09-07 16:00:17 +02:00
Print build error messages for compile workflow (#14)
This commit is contained in:
@@ -74,7 +74,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
qmk userspace-compile -e DUMP_CI_METADATA=yes || touch .failed
|
if qmk userspace-compile --help | grep -q "print-failures"; then
|
||||||
|
EXTRA_ARGS="-p"
|
||||||
|
fi
|
||||||
|
qmk userspace-compile -e DUMP_CI_METADATA=yes $EXTRA_ARGS || touch .failed
|
||||||
# Generate the step summary markdown
|
# Generate the step summary markdown
|
||||||
./qmk_firmware/util/ci/generate_failure_markdown.sh > $GITHUB_STEP_SUMMARY || true
|
./qmk_firmware/util/ci/generate_failure_markdown.sh > $GITHUB_STEP_SUMMARY || true
|
||||||
# Truncate to a maximum of 1MB to deal with GitHub workflow limit
|
# Truncate to a maximum of 1MB to deal with GitHub workflow limit
|
||||||
|
|||||||
Reference in New Issue
Block a user