From 506a58606379289c1b8920dd80c79afdf49be2ad Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Wed, 11 Oct 2023 07:28:48 -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 9a4d154b01..bdea385b17 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 61e28d9d69..9e693ba58e 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