do not random actions to setup Maven but just use mvnw (#11020)

Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
Olivier Lamy 2023-12-04 18:45:37 +10:00 committed by GitHub
parent 29f0369c22
commit 9f68bcc517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -72,12 +72,10 @@ jobs:
# queries: security-extended,security-and-quality
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.8.6
run: mvn --errors --batch-mode --show-version wrapper:wrapper "-Dmaven=3.9.6"
- name: Clean install dependencies and build
run: mvn clean install -DskipTests -B
run: ./mvnw clean install -DskipTests -B
# 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