Skip to content

Commit 554564e

Browse files
authored
Update build.yml
1 parent e1f4d1d commit 554564e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
uses: irongut/[email protected]
134134
with:
135135
filename: "Cobertura.xml"
136-
badge: false
136+
badge: true
137137
fail_below_min: false
138138
format: markdown
139139
hide_branch_rate: false
@@ -150,11 +150,11 @@ jobs:
150150
retention-days: 7
151151

152152
- name: Add coverage PR comment
153-
uses: marocchino/sticky-pull-request-comment@v2
154-
if: github.event_name == 'pull_request'
153+
uses: peter-evans/create-or-update-comment@v4
155154
with:
156-
recreate: true
157-
path: code-coverage-results.md
155+
token: ${{ secrets.GITHUB_TOKEN }}
156+
issue-number: ${{ github.event.pull_request.number }},
157+
body-path: ${{ github.workspace }}/code-coverage-results.md
158158

159159
sign:
160160
needs: [build]

0 commit comments

Comments
 (0)