From a766f4f8f0e421a0510d10aa39259f633551c14a Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 2 Dec 2021 23:09:20 +0000 Subject: [PATCH] Make maven a bit quieter during CI runs --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 67297201..14a8595c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -304,12 +304,12 @@ jobs: export PATH=apache-maven-3.8.4/bin:$PATH - name: Run Java Tests against built jar run: | - mvn -DskipTests=true package + mvn -q -B -DskipTests=true package export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)" JAR_VERSION=${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100} mvn install:install-file -Dfile=target/ldk-java-${JAR_VERSION}.jar -DgroupId=org.lightningdevkit -DartifactId=ldk-java -Dversion=1.0-SNAPSHOT -Dpackaging=jar cd javatester - mvn package + mvn -q -B package java -ea -jar target/ldk-java-tests-1.0-SNAPSHOT-jar-with-dependencies.jar cd .. - name: Check latest release libs are in git @@ -326,11 +326,11 @@ jobs: export LDK_GARBAGECOLLECTED_GIT_OVERRIDE="$(git describe --tag HEAD)" cp "ldk-java-bins/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE}/"liblightningjni_MacOSX-{x86_64,aarch64}.nativelib src/main/resources/ mvn clean - mvn -DskipTests=true package + mvn -q -B -DskipTests=true package JAR_VERSION=${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100} mvn install:install-file -Dfile=target/ldk-java-${JAR_VERSION}.jar -DgroupId=org.lightningdevkit -DartifactId=ldk-java -Dversion=1.0-SNAPSHOT -Dpackaging=jar cd javatester - mvn package + mvn -q -B package java -ea -jar target/ldk-java-tests-1.0-SNAPSHOT-jar-with-dependencies.jar cd .. fi -- 2.39.5