From 9cc16cc0b2c27ea4e216a2e07f7de02a8c9df803 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 25 Jan 2026 06:39:29 +0000 Subject: [PATCH] Print build error messages for compile workflow (#14) --- .github/workflows/qmk_userspace_build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/qmk_userspace_build.yml b/.github/workflows/qmk_userspace_build.yml index 0ba6b11..9ca3020 100644 --- a/.github/workflows/qmk_userspace_build.yml +++ b/.github/workflows/qmk_userspace_build.yml @@ -74,7 +74,10 @@ jobs: - name: Build 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 ./qmk_firmware/util/ci/generate_failure_markdown.sh > $GITHUB_STEP_SUMMARY || true # Truncate to a maximum of 1MB to deal with GitHub workflow limit