diff --git a/README.md b/README.md index 727968f6..c2309316 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 diff --git a/dist/index.js b/dist/index.js index 78b2f569..58a495a4 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 d0c5a06e..b82505e1 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 }