From 2868c9aa28a8542fae47110cb1354b76612dd485 Mon Sep 17 00:00:00 2001 From: luisito666 Date: Mon, 27 Mar 2023 17:39:12 -0500 Subject: [PATCH] Add new outputs for url and url_html for future references --- dist/index.js | 2 ++ src/main.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/dist/index.js b/dist/index.js index 78b2f56..58a495a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -411,6 +411,8 @@ 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; }); } diff --git a/src/main.ts b/src/main.ts index d0c5a06..b82505e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -198,6 +198,8 @@ 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 }