Skip to content

Commit 9f08cc4

Browse files
committed
Normalize mvn invocation on GitHub
1 parent be4967e commit 9f08cc4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
distribution: 'temurin'
4545
java-version: ${{ matrix.java }}
4646
- name: Build with Maven
47-
run: mvn -V test jacoco:report --file pom.xml --no-transfer-progress
47+
run: mvn --show-version --batch-mode --no-transfer-progress test jacoco:report
4848

4949
- name: Upload coverage to Codecov
5050
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ jobs:
5858
distribution: 'temurin'
5959
java-version: ${{ matrix.java }}
6060
- name: Build with Maven
61-
run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false
61+
run: mvn --show-version --batch-mode --no-transfer-progress -DtrimStackTrace=false

0 commit comments

Comments
 (0)