update drone-ci
This commit is contained in:
parent
eba81927a7
commit
cb6c91c578
1 changed files with 8 additions and 4 deletions
12
.drone.yml
12
.drone.yml
|
@ -12,7 +12,8 @@ steps:
|
||||||
- ./gradle
|
- ./gradle
|
||||||
# Mount the cache volume, needs "Trusted"
|
# Mount the cache volume, needs "Trusted"
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/cache:/cache
|
- name: cache
|
||||||
|
path: /tmp/cache
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: gradle:jdk17
|
image: gradle:jdk17
|
||||||
|
@ -41,9 +42,12 @@ steps:
|
||||||
- ./gradle
|
- ./gradle
|
||||||
# Mount the cache volume, needs "Trusted"
|
# Mount the cache volume, needs "Trusted"
|
||||||
volumes:
|
volumes:
|
||||||
- /tmp/cache:/cache
|
- name: cache
|
||||||
|
path: /tmp/cache
|
||||||
|
|
||||||
|
|
||||||
#volumes:
|
volumes:
|
||||||
# - name: cache
|
- name: cache
|
||||||
|
host:
|
||||||
|
path: /var/lib/cache
|
||||||
# temp: {}
|
# temp: {}
|
Loading…
Reference in a new issue