Skip to content

Commit e06deb3

Browse files
committed
ci: 修复多版本 GitHub Actions 构建
1 parent 26f697e commit e06deb3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# - push / pull_request on the feature/1.0.x branch
55
# - manual workflow_dispatch
66
#
7-
# Runs `./mvnw -B clean verify` which includes the JaCoCo coverage gate
7+
# Runs `mvn -B clean verify` which includes the JaCoCo coverage gate
88
# (90% line coverage, haltOnFailure=false) configured in the POM.
99
name: CI
1010

@@ -25,29 +25,29 @@ jobs:
2525
timeout-minutes: 30
2626
steps:
2727
- name: Checkout source
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v7
2929

3030
- name: Set up JDK 8
31-
uses: actions/setup-java@v4
31+
uses: actions/setup-java@v5
3232
with:
3333
distribution: temurin
3434
java-version: '8'
3535
cache: maven
3636

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

4040
- name: Upload JaCoCo coverage report
4141
if: always()
42-
uses: actions/upload-artifact@v4
42+
uses: actions/upload-artifact@v7
4343
with:
4444
name: jacoco-coverage
4545
path: target/site/jacoco
4646
retention-days: 14
4747

4848
- name: Upload surefire reports
4949
if: always()
50-
uses: actions/upload-artifact@v4
50+
uses: actions/upload-artifact@v7
5151
with:
5252
name: surefire-reports
5353
path: target/surefire-reports

0 commit comments

Comments
 (0)