Update maven.yml
This commit is contained in:
parent
19c18987f6
commit
f63f00fade
6
.github/workflows/maven.yml
vendored
6
.github/workflows/maven.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Ubuntu CI
|
||||
name: Java CI
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -11,7 +11,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
jdkversion: [11]
|
||||
runs-on: self-hosted
|
||||
runs-on: windows-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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user