Skip to content

Commit e942edc

Browse files
authored
Add CODECOV_TOKEN for code coverage publishing
1 parent 4d63d8c commit e942edc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/maven-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ jobs:
8888
- name: Codecov Report
8989
if: matrix.os == 'ubuntu' && matrix.java == '17'
9090
uses: codecov/codecov-action@v4.4.1
91+
with:
92+
# we do not want to have coverage not reported for a PR.
93+
fail_ci_if_error: true
94+
token: ${{ secrets.CODECOV_TOKEN }}
9195

9296
test-java-8:
9397
name: test Java 8 (no-build)

0 commit comments

Comments
 (0)