Skip to content

Commit

Permalink
save report to /tmp
Browse files Browse the repository at this point in the history
save report to /tmp
  • Loading branch information
theztefan committed Dec 16, 2022
1 parent bfa0821 commit 88f9416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11006,7 +11006,7 @@ const run = async () => {
}
// prepare output
core.setOutput("report-json", output);
(0, utils_1.syncWriteFile)("report.json", JSON.stringify(output, null, 2));
(0, utils_1.syncWriteFile)("/tmp/report.json", JSON.stringify(output, null, 2));
core.info(`[✅] Report written to file`);
(0, utils_1.prepareSummary)(output);
core.summary.write();
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const run = async (): Promise<void> => {

// prepare output
core.setOutput("report-json", output);
writeReportToFile("report.json", JSON.stringify(output, null, 2));
writeReportToFile("/tmp/report.json", JSON.stringify(output, null, 2));
core.info(`[✅] Report written to file`);

prepareSummary(output);
Expand Down

0 comments on commit 88f9416

Please sign in to comment.