From 0d51068f11196be3ec1994c0059a003e36654022 Mon Sep 17 00:00:00 2001 From: Connor Vidlock Date: Wed, 28 Jun 2023 17:32:51 -0500 Subject: [PATCH] Update index.js --- dist/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 0d387cf..54c4593 100644 --- a/dist/index.js +++ b/dist/index.js @@ -420,7 +420,9 @@ class TestReporter { core.info(`Check run HTML: ${resp.data.html_url}`); if (this.showHTMLNotice) { core.info('*** showhtmlnotice set to true'); - console.log(`::notice title=Test Results::${resp.data.html_url}`); + core.exportVariable('TEST_RESULTS_URL', `${resp.data.html_url}`); + core.info(`Set env var to: ${process.env.TEST_RESULTS_URL}`); + core.info(`::notice title=Test Results::${resp.data.html_url}`); } return [results, resp.data.html_url]; });