Skip to content

Commit

Permalink
Reduce verbosity of Maven in CI
Browse files Browse the repository at this point in the history
By disabling reporting of download status for dependencies. These horribly pollute build logs.

Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro committed Feb 13, 2024
1 parent 9498b4e commit 0f6dd87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/_meta-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
chmod +x "$HOME/.local/bin/cyclonedx"
- name: Build with Maven
env:
MAVEN_OPTS: "-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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
cache: 'maven'

- name: Execute unit tests
env:
MAVEN_OPTS: "-B --no-transfer-progress"
run: |-
mvn clean
mvn test -P enhance

0 comments on commit 0f6dd87

Please sign in to comment.