From 50542be113c658a6d25822f1859314b05ee61a5c Mon Sep 17 00:00:00 2001 From: norangebit Date: Thu, 28 Nov 2019 14:55:08 +0100 Subject: [PATCH] use local volumes Add local volumes for caching gradle and android. This should solve #16. --- .drone.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.drone.yml b/.drone.yml index 87a0cb8..5db05d7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,6 +5,11 @@ name: default steps: - name: build image: nextcloudci/android:android-49 + volumes: + - name: gradle + path: /root/.gradle + - name: android + path: /opt/android-sdk-linux commands: - ./gradlew build @@ -22,3 +27,13 @@ steps: when: status: - failure + +volumes: +- name: gradle + host: + path: + from_secret: volume_gradle +- name: android + host: + path: + from_secret: volume_android