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

5
dist/index.js generated vendored
View file

@ -264,6 +264,7 @@ class TestReporter {
core.info(`Changing directory to '${this.workDirInput}'`);
process.chdir(this.workDirInput);
}
core.info(`Check runs will be created with SHA=${this.context.sha}`);
const pattern = this.path.split(',');
const inputProvider = this.artifact
? new artifact_provider_1.ArtifactProvider(this.octokit, this.artifact, this.name, pattern, this.context.sha, this.context.runId, this.token)
@ -337,7 +338,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;
}
getParser(reporter, options) {