diff --git a/README.md b/README.md index 4410a75..1933f55 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,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 ea71292..78eabdf 100644 --- a/dist/index.js +++ b/dist/index.js @@ -412,6 +412,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 8dfd3de..87a1da7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -199,6 +199,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 }