Skip to content

Commit

Permalink
Try without replacing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrosse committed Jul 25, 2024
1 parent e423b89 commit 29f6b63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const coverageReport = `${{ steps.report-step.outputs.coverage_report }}`.replace(/\n/g, '\\n');
const report = `${{ steps.report-step.outputs.coverage_report }}`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `[Coverage Report](${{ needs.unit_tests.outputs.html-coverage-url }})\n${coverageReport}`
body: `[Coverage Report](${{ needs.unit_tests.outputs.html-coverage-url }})\n${report}`
})

0 comments on commit 29f6b63

Please sign in to comment.