From b8855d396f0b5fe23e9168199b2638d7450dbaa2 Mon Sep 17 00:00:00 2001 From: Niko Dziemba Date: Mon, 9 May 2022 10:54:31 +0200 Subject: [PATCH] Fix coverage upload on main builds We need to enable the `coverage` profile in the main build/publish maven step, otherwise codecov has nothing to upload. --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f91858e7..d2b73c74 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,8 @@ jobs: gpg_passphrase: ${{ secrets.gpg_passphrase }} nexus_username: ${{ secrets.nexus_username }} nexus_password: ${{ secrets.nexus_password }} + maven_args: '-Pcoverage' + - name: Upload coverage to Codecov uses: codecov/codecov-action@v2 with: