From 3c2eb9c4289d429de8c967755accb9f51f5f1f4c Mon Sep 17 00:00:00 2001 From: Tatu Saloranta Date: Mon, 2 Dec 2024 21:49:24 -0800 Subject: [PATCH] Minor CI unification --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 88d07714b5..1f87922891 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -67,11 +67,11 @@ jobs: CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} # MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} run: ./mvnw -B -q -ff -DskipTests -ntp source:jar deploy - - name: Generate code coverage - if: ${{ github.event_name != 'pull_request' && matrix.release_build }} + - name: Generate code coverage + if: ${{ matrix.release_build && github.event_name != 'pull_request' && }} run: ./mvnw -B -q -ff -ntp test - name: Publish code coverage - if: ${{ github.event_name != 'pull_request' && matrix.release_build }} + if: ${{ matrix.release_build && github.event_name != 'pull_request' && }} uses: codecov/codecov-action@015f24e6818733317a2da2edd6290ab26238649a # v5.0.7 with: token: ${{ secrets.CODECOV_TOKEN }}