Skip to content

Commit e3c2ff8

Browse files
committed
ci: Fix failures
Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 1b9e7f8 commit e3c2ff8

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/module-monitor.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,6 @@ jobs:
247247
diff_content.append("## Firmware Blob Changes")
248248
diff_content.append("")
249249
diff_content.extend(table_rows)
250-
251-
252250
else:
253251
diff_content.append("## No Changes Detected")
254252
diff_content.append("")
@@ -264,16 +262,14 @@ jobs:
264262
265263
print(f"DEBUG: Successfully wrote diff_output.txt", file=sys.stderr)
266264
267-
print("diff_output<<EOF", file=sys.stdout)
265+
print("diff_output<<DIFF_EOF", file=sys.stdout)
268266
print('\n'.join(diff_content), file=sys.stdout)
269-
print("EOF", file=sys.stdout)
270-
271-
267+
print("DIFF_EOF", file=sys.stdout)
272268
273269
except Exception as e:
274-
print("diff_output<<EOF", file=sys.stdout)
270+
print("diff_output<<DIFF_EOF", file=sys.stdout)
275271
print(f"Error generating comparison: {e}", file=sys.stdout)
276-
print("EOF", file=sys.stdout)
272+
print("DIFF_EOF", file=sys.stdout)
277273
print("DEBUG: Python script completed successfully", file=sys.stderr)
278274
EOF
279275
@@ -285,14 +281,14 @@ jobs:
285281
286282
if [ -f diff_output.txt ]; then
287283
echo "DEBUG: diff_output.txt exists, size: $(wc -c < diff_output.txt)" >&2
288-
echo "diff_output<<EOF" >> $GITHUB_OUTPUT
284+
echo "diff_output<<DIFF_EOF" >> $GITHUB_OUTPUT
289285
cat diff_output.txt >> $GITHUB_OUTPUT
290-
echo "EOF" >> $GITHUB_OUTPUT
286+
echo "DIFF_EOF" >> $GITHUB_OUTPUT
291287
else
292288
echo "DEBUG: diff_output.txt not found" >&2
293-
echo "diff_output<<EOF" >> $GITHUB_OUTPUT
289+
echo "diff_output<<DIFF_EOF" >> $GITHUB_OUTPUT
294290
echo "No changes detected" >> $GITHUB_OUTPUT
295-
echo "EOF" >> $GITHUB_OUTPUT
291+
echo "DIFF_EOF" >> $GITHUB_OUTPUT
296292
fi
297293
298294

0 commit comments

Comments
 (0)