mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-01 02:45:22 -08:00
Merge pull request #242 from luisito666/feature/add-new-output-for-url-url_html
Add new output for url url html
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@@ -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;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user