Skip to content

Commit 972f1db

Browse files
committed
ci: run mvn with --batch-mode --no-transfer-progress
1 parent 7fc747f commit 972f1db

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
java-package: jdk
3434
cache: 'maven'
3535
- name: spotless:check
36-
run: mvn spotless:check
36+
run: mvn --batch-mode --no-transfer-progress spotless:check
3737

3838
test:
3939
name: test ${{ matrix.os }} jdk${{ matrix.java }}
@@ -60,7 +60,7 @@ jobs:
6060
java-package: jdk
6161
cache: 'maven'
6262
- name: Test
63-
run: mvn test
63+
run: mvn --batch-mode --no-transfer-progress test
6464

6565
test_graalvm:
6666
name: test ubuntu-latest jdk11 GraalVM native-image
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
gu install native-image
8181
- name: Test
82-
run: mvn -Pnative test
82+
run: mvn --batch-mode --no-transfer-progress -P native test
8383

8484
test_multiarch:
8585
name: test ${{ matrix.arch }} ${{ matrix.distro }} jdk${{ matrix.java }}
@@ -123,7 +123,7 @@ jobs:
123123
run: |
124124
echo "Architecture: `uname -a`"
125125
mvn --version
126-
cd /work && mvn test
126+
cd /work && mvn --batch-mode --no-transfer-progress test
127127
128128
release:
129129
name: Deploy
@@ -148,7 +148,7 @@ jobs:
148148
echo "PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
149149
- name: Publish to Apache Maven Central
150150
if: ${{ endsWith(env.PROJECT_VERSION, '-SNAPSHOT') }}
151-
run: mvn deploy -P release -DskipTests
151+
run: mvn --batch-mode --no-transfer-progress deploy -P release -DskipTests
152152
env:
153153
MAVEN_CENTRAL_USERNAME: ${{ secrets.SONATYPE_USERNAME }} # must be the same env variable name as (1)
154154
MAVEN_CENTRAL_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} # must be the same env variable name as (2)

0 commit comments

Comments
 (0)