Skip to content

Commit

Permalink
Merge pull request #242 from luisito666/feature/add-new-output-for-ur…
Browse files Browse the repository at this point in the history
…l-url_html

Add new output for url url html
  • Loading branch information
Julien Catania authored and GitHub committed Sep 22, 2023
2 parents b09b166 + 2f00523 commit 19f5a0d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ jobs:
| failed | Count of failed tests |
| skipped | Count of skipped tests |
| time | Test execution time [ms] |
| url | Check run URL |
| url_html | Check run URL HTML |

## Supported formats

Expand Down
2 changes: 2 additions & 0 deletions dist/index.js

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

2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ class TestReporter {
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}`)
core.setOutput('url', resp.data.url)
core.setOutput('url_html', resp.data.html_url)

return results
}
Expand Down

0 comments on commit 19f5a0d

Please sign in to comment.