Skip to content

Commit 7475d79

Browse files
authored
Fix coverage upload on main builds (#96)
We need to enable the `coverage` profile in the main build/publish maven step, otherwise codecov has nothing to upload.
1 parent 33923fe commit 7475d79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
gpg_passphrase: ${{ secrets.gpg_passphrase }}
3030
nexus_username: ${{ secrets.nexus_username }}
3131
nexus_password: ${{ secrets.nexus_password }}
32+
maven_args: '-Pcoverage'
33+
3234
- name: Upload coverage to Codecov
3335
uses: codecov/codecov-action@v2
3436
with:

0 commit comments

Comments
 (0)