From 2868c9aa28a8542fae47110cb1354b76612dd485 Mon Sep 17 00:00:00 2001 From: luisito666 Date: Mon, 27 Mar 2023 17:39:12 -0500 Subject: [PATCH 1/2] 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 } From 2f005230e20ffa401ae4fe61ad612016f161b2c5 Mon Sep 17 00:00:00 2001 From: luisito666 Date: Mon, 27 Mar 2023 17:42:16 -0500 Subject: [PATCH 2/2] Update readme and add information about url and url_html --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 727968f..c230931 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,8 @@ jobs: | failed | Count of failed tests | | skipped | Count of skipped tests | | time | Test execution time [ms] | +| url | Check run URL | +| url_html | Check run URL HTML | ## Supported formats