From 7dc28f0f75d8a0b43e58a1b1d6e348ed3271e3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E7=BA=A7=E4=BA=91=E8=84=91=E7=A0=94=E5=8F=91?= =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E5=B8=88?= <153692773@qq.com> Date: Thu, 23 Feb 2023 00:10:18 +0800 Subject: [PATCH] update pipeline for master branch --- .drone.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2d324f3..f12168e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,17 +1,27 @@ kind: pipeline type: docker -name: 1 +name: masterpipe platform: os: linux arch: arm64 + +volumes: + - name: cache + host: + path: /var/lib/cache steps: - name: maven image: maven:3-jdk-10 + volumes: + - name: cache + path: /root/.m2 commands: - mvn compile - -- name: maven +- name: test image: maven:3-jdk-10 + volumes: + - name: cache + path: /root/.m2 commands: - mvn test