diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 9a4d154b0..bdea385b1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -44,7 +44,7 @@ jobs: distribution: 'temurin' java-version: ${{ matrix.java }} - name: Build with Maven - run: mvn -V test jacoco:report --file pom.xml --no-transfer-progress + run: mvn --show-version --batch-mode --no-transfer-progress test jacoco:report - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 61e28d9d6..9e693ba58 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -50,4 +50,4 @@ jobs: java-version: ${{ matrix.java }} - name: Build with Maven # Use the default goal - run: mvn -V --file pom.xml --no-transfer-progress + run: mvn --show-version --batch-mode --no-transfer-progress