mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
feat: add summary to outputs
This commit is contained in:
parent
a6b3e93884
commit
a016b587f6
1 changed files with 2 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ class TestReporter {
|
|||
})
|
||||
|
||||
core.info('Summary content:')
|
||||
core.info(summary)
|
||||
core.info(summary)
|
||||
core.summary.addRaw(`# ${shortSummary}`)
|
||||
await core.summary.addRaw(summary).write()
|
||||
} else {
|
||||
|
|
@ -237,6 +237,7 @@ class TestReporter {
|
|||
core.info(`Check run HTML: ${resp.data.html_url}`)
|
||||
core.setOutput('url', resp.data.url)
|
||||
core.setOutput('url_html', resp.data.html_url)
|
||||
core.setOutput('summary', summary)
|
||||
}
|
||||
|
||||
return results
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue