Skip to content

Commit

Permalink
Improve logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Dorner committed Feb 17, 2021
1 parent 09d1ac9 commit c5671cf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit c5671cf

Please sign in to comment.