init
This commit is contained in:
+4
-8
@@ -16,11 +16,9 @@ steps:
|
||||
mount:
|
||||
- /root/.gradle/caches
|
||||
- /root/.gradle/wrapper
|
||||
key: gradle-{{ checksum "build.gradle" }}
|
||||
fallback_key: gradle-
|
||||
key: { { repo.name } }/{{ os.arch }}/{{ branch }}
|
||||
backend: filesystem
|
||||
root: /root/drone/cache
|
||||
path: gradle-cache
|
||||
root: /tmp/cache
|
||||
failure: ignore
|
||||
volumes:
|
||||
- name: cache-volume
|
||||
@@ -58,11 +56,9 @@ steps:
|
||||
mount:
|
||||
- /root/.gradle/caches
|
||||
- /root/.gradle/wrapper
|
||||
key: gradle-{{ checksum "build.gradle" }}
|
||||
fallback_key: gradle-
|
||||
key: { { repo.name } }/{{ os.arch }}/{{ branch }}
|
||||
backend: filesystem
|
||||
root: /root/drone/cache
|
||||
path: gradle-cache
|
||||
root: /tmp/cache
|
||||
when:
|
||||
status: [success]
|
||||
failure: ignore
|
||||
|
||||
Reference in New Issue
Block a user