fix maven codeql setup (#10270)

Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
Olivier Lamy 2023-08-23 07:14:20 +10:00 committed by GitHub
parent 1fff9787bd
commit a51c67dbb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -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