Update maven.yml

This commit is contained in:
HaHaWTH 2023-04-06 20:59:28 +08:00 committed by GitHub
parent f45696f82f
commit db1650c27f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
jdkversion: [11]
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
@ -20,5 +20,5 @@ jobs:
java-version: ${{ matrix.jdkversion }}
cache: 'maven'
- name: 使用Maven构建
run: usr/actions-runner/apache-maven-3.9.1/bin/mvn -V -B clean package --file pom.xml
run: mvn -V -B clean package --file pom.xml