Improve logging

This commit is contained in:
Michal Dorner 2021-02-17 08:12:45 +01:00
parent 09d1ac9fc3
commit c5671cf48a
No known key found for this signature in database
GPG key ID: 9EEE04B48DA36786
3 changed files with 10 additions and 4 deletions

View file

@ -66,8 +66,9 @@ class TestReporter {
process.chdir(this.workDirInput)
}
const pattern = this.path.split(',')
core.info(`Check runs will be created with SHA=${this.context.sha}`)
const pattern = this.path.split(',')
const inputProvider = this.artifact
? new ArtifactProvider(
this.octokit,
@ -160,7 +161,9 @@ class TestReporter {
},
...github.context.repo
})
core.info(`Check run create response: ${resp.status} - ${resp.url}`)
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}`)
return results
}