@@ -6,6 +6,9 @@ steps:
# 步骤 1: Maven 构建
- name: build-with-maven
image: maven:3.8.5-openjdk-17-slim
+ volumes:
+ - name: cache
+ path: /root/.m2
commands:
- mvn clean package -DskipTests