[CI] update setup maven
This commit is contained in:
11
.github/actions/build-sample-app/action.yml
vendored
11
.github/actions/build-sample-app/action.yml
vendored
@@ -47,16 +47,17 @@ runs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: jvalkeal/setup-maven@v1
|
||||
with:
|
||||
maven-version: 3.8.4
|
||||
|
||||
- uses: actions/setup-java@v2
|
||||
- uses: actions/setup-java@v3
|
||||
with:
|
||||
distribution: 'liberica'
|
||||
java-version: '${{ inputs.java-version }}'
|
||||
cache: maven
|
||||
|
||||
- uses: jvalkeal/setup-maven@v1
|
||||
with:
|
||||
maven-version: 3.8.8
|
||||
maven-mirror: 'https://dlcdn.apache.org/maven/maven-3/'
|
||||
|
||||
- name: Maven build
|
||||
shell: bash
|
||||
run: ./mvnw ${{ inputs.mvn-build-commands }}
|
||||
|
||||
Reference in New Issue
Block a user