Skip to content

Commit 3a5cf4c

Browse files
committed
Use maven wrapper
1 parent 1fdfc21 commit 3a5cf4c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
${{ matrix.os }}-maven-
4848
4949
- name: Build with maven
50-
run: mvn -B --errors --activate-profiles ci,jdk${{ matrix.java }}? --no-transfer-progress package -DskipTests
50+
run: mvn -q -N wrapper:3.3.2:wrapper -DmavenVersion=3.9.8 && ./mvnw -B --errors --activate-profiles ci,jdk${{ matrix.java }}? --no-transfer-progress package -DskipTests
5151

5252
test:
5353
needs: compile
@@ -74,7 +74,7 @@ jobs:
7474
7575
- name: Build and test with maven
7676
# Skip all static checks, they were already done in the compile jobs
77-
run: mvn -B --errors --activate-profiles ci,jdk${{ matrix.java }}? --no-transfer-progress package
77+
run: mvn -q -N wrapper:3.3.2:wrapper -DmavenVersion=3.9.8 && ./mvnw -B --errors --activate-profiles ci,jdk${{ matrix.java }}? --no-transfer-progress package
7878

7979
- name: Archive test results and logs
8080
# if: success() || failure() to also get the test results on successful runs.

0 commit comments

Comments
 (0)