Skip to content

Commit f2d943b

Browse files
committed
ci: 构建改用项目自带 Maven 4 wrapper——runner 自带 Maven 3 无法解析 POM 4.1.0 模型
1 parent b589379 commit f2d943b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
# - push / pull_request on the feature/3.0.x branch
55
# - manual workflow_dispatch
66
#
7-
# Runs `mvn -B clean verify` which includes the JaCoCo coverage gate
8-
# (90% line coverage, haltOnFailure=false) configured in the POM.
7+
# Runs `./mvnw -B clean verify` (Maven 4 via the checked-in wrapper — the
8+
# runner's bundled Maven 3 cannot parse the POM 4.1.0 model) which includes
9+
# the JaCoCo coverage gate (90% line coverage, haltOnFailure=false).
910
name: CI
1011

1112
on:
@@ -35,7 +36,7 @@ jobs:
3536
cache: maven
3637

3738
- name: Build and verify with JaCoCo coverage gate
38-
run: mvn -B --no-transfer-progress clean verify
39+
run: ./mvnw -B --no-transfer-progress clean verify
3940

4041
- name: Upload JaCoCo coverage report
4142
if: always()

0 commit comments

Comments
 (0)