Update index.js

This commit is contained in:
Connor Vidlock 2023-06-28 17:32:51 -05:00
parent 819dccfd4b
commit 0d51068f11
No known key found for this signature in database
GPG key ID: BADEF4A267C14600

4
dist/index.js generated vendored
View file

@ -420,7 +420,9 @@ class TestReporter {
core.info(`Check run HTML: ${resp.data.html_url}`); core.info(`Check run HTML: ${resp.data.html_url}`);
if (this.showHTMLNotice) { if (this.showHTMLNotice) {
core.info('*** showhtmlnotice set to true'); 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]; return [results, resp.data.html_url];
}); });