Smaller output in codeql build (#10787)

Motivation:
Printing download progress in the build log makes it harder to see what's wrong when the build fails.

Modification:
Change the maven command to not show transfer progress, also enable batch mode so Maven don't print in colors that we can't see anyway.

Result:
More concise code analysis build logs.
This commit is contained in:
Chris Vest 2020-11-09 15:32:18 +01:00 committed by Norman Maurer
parent 12c3b9c7e6
commit 0e03682537

View File

@ -67,7 +67,7 @@ jobs:
with:
java-version: '11' # The JDK version to make available on the path.
- run: ./mvnw clean package -DskipTests=true
- run: ./mvnw clean package -DskipTests=true -ntp -B
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1