ci: add pip cache
continuous-integration/drone/push Build is passing Details

This commit is contained in:
William Luke 2022-02-25 09:39:38 +03:00
parent 16e21bf7a6
commit 8cd5c23cf4
1 changed files with 8 additions and 1 deletions

View File

@ -22,7 +22,8 @@ steps:
volumes:
- name: poetry_cache
path: /root/.cache/pypoetry
- name: pip_cache
path: /root/.cache/pip
- name: publish
image: python:3.7.2
commands:
@ -44,7 +45,13 @@ steps:
volumes:
- name: poetry_cache
path: /root/.cache/pypoetry
- name: pip_cache
path: /root/.cache/pip
volumes:
- name: poetry_cache
host:
path: /tmp/cache/drone/pypoetry
- name: pip_cache
host:
path: /tmp/cache/drone/pip