修改CI脚本

This commit is contained in:
张宇衡 2023-12-05 13:41:25 +08:00
parent c3347e4ad5
commit f536746526

View File

@ -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: