Update maven.yml

This commit is contained in:
HaHaWTH 2023-04-06 21:14:09 +08:00 committed by GitHub
parent db1650c27f
commit 19c18987f6
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: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
@ -20,5 +20,5 @@ jobs:
java-version: ${{ matrix.jdkversion }}
cache: 'maven'
- name: 使用Maven构建
run: mvn -V -B clean package --file pom.xml
run: usr/actions-runner/apache-maven-3.9.1/bin/mvn -V -B clean package --file pom.xml