From d3a78d414aac23a00ea00a1bf270f5e5350952d3 Mon Sep 17 00:00:00 2001 From: zeekling Date: Tue, 3 May 2022 00:35:25 +0800 Subject: [PATCH] support drone --- .drone.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3781a12..beb459f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,8 +3,15 @@ type: docker name: default steps: -- name: install - image: alpine +- name: build + image: maven + volumes: + - name: cache + path: /root/.m2 commands: - - mvn install + - mvn clean install -DskipTests +volumes: + - name: cache # The name use in this pipeline, + host: + path: /var/lib/cache # The path be used in the host.