We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7be67e commit 8223ce8Copy full SHA for 8223ce8
.github/tools/checkmake.bash
@@ -155,8 +155,14 @@ process_checkmake_output() {
155
local file="$1"
156
local emsg="$2"
157
158
- if ! output=$(checkmake "${file}" 2>&1); then
159
- printf "%s\n" "::error::checkmake failed!"
+ # PATCH for GHI reactive-firewall-org/multicast#488
+ local random_id="${RANDOM}${RANDOM}${RANDOM}${RANDOM}${RANDOM}"
160
+ local chmk_elog="checkmake_${random_id}_error_log.log"
161
+
162
+ if ! output=$(checkmake "${file}" 2>"${chmk_elog}"); then
163
+ printf "%s\n" "::error title='failure'::checkmake failed!"
164
+ printf "%s '%s'\n" "::error title='stderr'::checkmake error:" \
165
+ $(head -n 5000 "${chmk_elog}") >&2;
166
167
printf "%s\n" "${output}" | \
168
sed -e 's/ /:/g' | \
0 commit comments