Add new outputs for url and url_html for future references

This commit is contained in:
luisito666 2023-03-27 17:39:12 -05:00
parent e9fa2f582c
commit 2868c9aa28
2 changed files with 4 additions and 0 deletions

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.html_url)
return results
}