feat: Using table() in summaryTable() when not running in CI.

This commit is contained in:
Robin Tail
2026-01-12 09:49:01 +01:00
parent 5fa8c3603d
commit 0c03428488
2 changed files with 1212 additions and 1236 deletions
+1208 -1235
View File
File diff suppressed because one or more lines are too long
+4 -1
View File
@@ -178,7 +178,10 @@ async function summaryTable(
if (title) {
core.info(`\n${title}`);
}
const tableText = formattedRows.map((row) => row.map((cell) => cell.data).join(" | ")).join("\n");
const tableData = formattedRows.map((row) => row.map((cell) => cell.data));
const tableText = isGitHubActions
? tableData.map((row) => row.join(" | ")).join("\n")
: table(tableData);
core.info(`\n${tableText}\n`);
}