Skip markdown file

This commit is contained in:
Ray Xu 2024-04-06 16:12:21 -07:00
parent 0b7d35fd12
commit c1768c8b7a
2 changed files with 2 additions and 7 deletions

View file

@ -171,9 +171,7 @@ class TestReporter {
core.info('Summary content:')
core.info(summary)
await fs.promises.writeFile(this.path.replace('*.trx', 'test-summary.md'), summary)
core.info('File content:')
core.info(fs.readFileSync(this.path.replace('*.trx', 'test-summary.md'), 'utf8'))
await core.summary.addRaw(summary).write()
} else {
core.info(`Creating check run ${name}`)
const createResp = await this.octokit.rest.checks.create({