Update maven.yml
This commit is contained in:
parent
db1650c27f
commit
19c18987f6
4
.github/workflows/maven.yml
vendored
4
.github/workflows/maven.yml
vendored
@ -11,7 +11,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
jdkversion: [11]
|
jdkversion: [11]
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-java@v3
|
- uses: actions/setup-java@v3
|
||||||
@ -20,5 +20,5 @@ jobs:
|
|||||||
java-version: ${{ matrix.jdkversion }}
|
java-version: ${{ matrix.jdkversion }}
|
||||||
cache: 'maven'
|
cache: 'maven'
|
||||||
- name: 使用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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user