From 3eac769da6170c854011695fc3e688f5e2c1f78a Mon Sep 17 00:00:00 2001 From: nscuro Date: Tue, 13 Feb 2024 16:58:21 +0100 Subject: [PATCH] Reduce verbosity of Maven in CI By disabling reporting of download status for dependencies. These horribly pollute build logs. Signed-off-by: nscuro --- .github/workflows/_meta-build.yaml | 2 ++ .github/workflows/ci-test.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/_meta-build.yaml b/.github/workflows/_meta-build.yaml index 23481b545..38a9aa9ef 100644 --- a/.github/workflows/_meta-build.yaml +++ b/.github/workflows/_meta-build.yaml @@ -42,6 +42,8 @@ jobs: chmod +x "$HOME/.local/bin/cyclonedx" - name: Build with Maven + env: + MAVEN_ARGS: "-B --no-transfer-progress" run: |- mvn clean mvn package -Dmaven.test.skip=true -P enhance -P embedded-jetty -Dservices.bom.merge.skip=false -Dlogback.configuration.file=src/main/docker/logback.xml diff --git a/.github/workflows/ci-test.yaml b/.github/workflows/ci-test.yaml index a0f5e0eca..d9b069ea7 100644 --- a/.github/workflows/ci-test.yaml +++ b/.github/workflows/ci-test.yaml @@ -41,6 +41,8 @@ jobs: cache: 'maven' - name: Execute unit tests + env: + MAVEN_ARGS: "-B --no-transfer-progress" run: |- mvn clean mvn test -P enhance