From 819dccfd4be88a95737c79e81e7d2c4d7b514be3 Mon Sep 17 00:00:00 2001 From: Connor Vidlock Date: Wed, 28 Jun 2023 17:11:58 -0500 Subject: [PATCH] Update main.ts --- src/main.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 82a6a50..403f53e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -211,8 +211,9 @@ class TestReporter { core.info(`Check run HTML: ${resp.data.html_url}`) if (this.showHTMLNotice) { core.info('*** showhtmlnotice set to true') - core.exportVariable('TEST-RESULTS-URL', resp.data.html_url) - 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]