修改CI脚本
This commit is contained in:
parent
c3347e4ad5
commit
f536746526
@ -5,6 +5,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- '**/*src/**/*.java'
|
- '**/*src/**/*.java'
|
||||||
|
# pom.xml 文件有变动执行编译
|
||||||
|
- '**/pom.xml'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -13,7 +15,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: stCarolas/setup-maven@v4
|
- name: Set up Maven
|
||||||
|
uses: stCarolas/setup-maven@v4
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user