From 64efc64bfa6f12c76a9b93d37e13f8b13c669104 Mon Sep 17 00:00:00 2001 From: luisito666 Date: Tue, 4 Oct 2022 09:30:10 -0500 Subject: [PATCH] Move outputs to run function --- src/main.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index 08f90bb..0d0f5e5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -129,6 +129,7 @@ class TestReporter { core.setOutput('failed', failed) core.setOutput('skipped', skipped) core.setOutput('time', time) + core.setOutput('runid', this.context.runId) if (this.failOnError && isFailed) { core.setFailed(`Failed test were found and 'fail-on-error' option is set to ${this.failOnError}`) @@ -193,8 +194,6 @@ class TestReporter { core.info(`Check run create response: ${resp.status}`) core.info(`Check run URL: ${resp.data.url}`) core.info(`Check run HTML: ${resp.data.html_url}`) - core.setOutput('url', resp.data.url) - core.setOutput('url_html', resp.data.html_url) return results }