mirror of
https://github.com/dorny/test-reporter.git
synced 2026-05-06 18:47:35 +02:00
Add generated summary action output
This commit is contained in:
parent
1ab1766274
commit
f610967bd1
4 changed files with 7 additions and 0 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
|
@ -59089,6 +59089,7 @@ class TestReporter {
|
|||
}, shortSummary);
|
||||
info('Summary content:');
|
||||
info(summary);
|
||||
setOutput('summary', summary);
|
||||
await summary_summary.addRaw(summary).write();
|
||||
}
|
||||
else {
|
||||
|
|
@ -59119,6 +59120,7 @@ class TestReporter {
|
|||
});
|
||||
info('Creating annotations');
|
||||
const annotations = getAnnotations(results, this.maxAnnotations);
|
||||
setOutput('summary', summary);
|
||||
const isFailed = this.failOnError && results.some(tr => tr.result === 'failed');
|
||||
const conclusion = isFailed ? 'failure' : 'success';
|
||||
info(`Updating check run conclusion (${conclusion}) and output`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue