From 78c0bf08d9e3f5676b5678b06f536b320cbd97d3 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Wed, 11 Oct 2023 07:31:35 -0400 Subject: [PATCH] Normalize mvn invocation on GitHub --- .github/workflows/coverage.yml | 2 +- .github/workflows/maven.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 58ab71cc..f8ff4901 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@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9310616e..263008b7 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -49,4 +49,4 @@ jobs: distribution: 'temurin' java-version: ${{ matrix.java }} - name: Build with Maven - run: mvn -Ddoclint=all --file pom.xml --no-transfer-progress + run: mvn -Ddoclint=all --show-version --batch-mode --no-transfer-progress