Update maven.yml

This commit is contained in:
HaHaWTH 2023-04-06 00:57:06 +08:00 committed by GitHub
parent 5efa360cb2
commit 3b58a0acc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,9 +15,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/upload-artifact@v1
with:
distribution: 'temurin'
java-version: ${{ matrix.jdkversion }}
cache: 'maven'
- name: Build with Maven
path: ${{ github.workspace }}/target
- name: Build
run: /usr/actions-runner/apache-maven-3.9.1/bin/mvn -V -B clean package --file pom.xml