From a016b587f67eee330255e4c24e7ebc37840aa106 Mon Sep 17 00:00:00 2001 From: McQuenji <60017181+mcquenji@users.noreply.github.com> Date: Mon, 9 Jun 2025 06:39:16 +0200 Subject: [PATCH 1/2] feat: add summary to outputs --- src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 57137ab..2d0521d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -186,7 +186,7 @@ class TestReporter { }) core.info('Summary content:') - core.info(summary) + core.info(summary) core.summary.addRaw(`# ${shortSummary}`) await core.summary.addRaw(summary).write() } else { @@ -237,6 +237,7 @@ class TestReporter { core.info(`Check run HTML: ${resp.data.html_url}`) core.setOutput('url', resp.data.url) core.setOutput('url_html', resp.data.html_url) + core.setOutput('summary', summary) } return results From 59db6464e472529faab90e0bcd9b7f14938682cd Mon Sep 17 00:00:00 2001 From: McQuenji <60017181+mcquenji@users.noreply.github.com> Date: Mon, 9 Jun 2025 06:40:11 +0200 Subject: [PATCH 2/2] Update action.yml --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index ec4772f..06324d5 100644 --- a/action.yml +++ b/action.yml @@ -107,6 +107,8 @@ outputs: description: Check run URL url_html: description: Check run URL HTML + summary: + description: The raw generated summary runs: using: 'node20' main: 'dist/index.js'