GQA-338 - Add url output

This commit is contained in:
Diego Machado 2023-09-18 16:22:19 -03:00
parent e9fa2f582c
commit ee92a80444
3 changed files with 6 additions and 0 deletions

View file

@ -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

2
dist/index.js generated vendored
View file

@ -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;
});
}

View file

@ -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.url_html);
return results
}