Skip to content

Commit ae60e5f

Browse files
committed
修复CI/CD:更新actions版本(v3->v4),解决弃用问题
1 parent 24320af commit ae60e5f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Set up JDK 11
20-
uses: actions/setup-java@v3
20+
uses: actions/setup-java@v4
2121
with:
2222
java-version: '11'
2323
distribution: 'temurin'
2424
cache: 'maven'
2525

2626
- name: Cache Maven dependencies
27-
uses: actions/cache@v3
27+
uses: actions/cache@v4
2828
with:
2929
path: ~/.m2
3030
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -49,7 +49,7 @@ jobs:
4949
run: ./mvnw clean package -DskipTests
5050

5151
- name: Upload build artifacts
52-
uses: actions/upload-artifact@v3
52+
uses: actions/upload-artifact@v4
5353
with:
5454
name: java-ai-starter-jar
5555
path: target/*.jar

0 commit comments

Comments
 (0)