Skip to content

Commit c748da7

Browse files
committed
remove write from summary
1 parent 74089ef commit c748da7

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/buildSummary.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ export function writeSummary(taskSummaryTableRows: string[][], actionName: strin
77
try {
88
core.summary
99
.addHeading("MATLAB Build Results (" + actionName + ") ")
10-
.addTable(taskSummaryTableRows)
11-
.write();
10+
.addTable(taskSummaryTableRows);
1211
} catch (e) {
1312
console.error('An error occurred while adding the build results table to the summary:', e);
1413
}
@@ -66,7 +65,5 @@ export function processAndDisplayBuildSummary(
6665
}
6766
}
6867
writeSummary(taskSummaryTable, actionName);
69-
} else {
70-
core.info(`Build summary data not created.`);
7168
}
7269
}

src/testResultsSummary.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,7 @@ export function writeSummary(
147147
.addHeading("MATLAB Test Results (" + actionName + ") " + helpLink)
148148
.addRaw(header, true)
149149
.addHeading("All tests", 3)
150-
.addRaw(detailedResults, true)
151-
.write();
150+
.addRaw(detailedResults, true);
152151
} catch (e) {
153152
console.error("An error occurred while adding the test results to the summary:", e);
154153
}

0 commit comments

Comments
 (0)