mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01: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:
commit
19f5a0d16b
3 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue