fix maven codeql setup (#10270)
Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
parent
1fff9787bd
commit
a51c67dbb4
|
@ -71,17 +71,17 @@ jobs:
|
|||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||
# queries: security-extended,security-and-quality
|
||||
|
||||
- name: Set up Maven
|
||||
uses: stCarolas/setup-maven@v4.5
|
||||
with:
|
||||
maven-version: 3.9.4
|
||||
|
||||
- name: Set up Maven
|
||||
run:
|
||||
mvn -e -B -V org.apache.maven.plugins:maven-wrapper-plugin:3.1.0:wrapper "-Dmaven=3.9.4"
|
||||
|
||||
- name: Clean install dependencies and build
|
||||
run: mvn clean install -DskipTests -B -Dmaven.build.cache.enabled=false
|
||||
env:
|
||||
MAVEN_OPTS: "-Djava.awt.headless=true -client -Xmx4G -Xms4G"
|
||||
run:
|
||||
./mvnw clean install -DskipTests -B -V
|
||||
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
||||
|
|
Loading…
Reference in New Issue