diff options
author | Polyedre <polyedre@disroot.org> | 2021-02-24 21:55:40 +0100 |
---|---|---|
committer | Polyedre <polyedre@disroot.org> | 2021-02-24 21:55:40 +0100 |
commit | 37e0f874a1c6a108a8940329e2e1e534d8d328b9 (patch) | |
tree | d818e4b500da4cf745cf3d551cf7c1316750f080 | |
parent | a0cb6d55f47c223433b506d53a8cd62cc1a704bf (diff) |
fix(ci): ensure circle ci cache is cleared
-rw-r--r-- | .circleci/config.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index d0ddcbc5..9a276ad2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,9 +41,7 @@ aliases: - run: python -V | tee /tmp/.python-version - restore_cache: keys: - - v1-dependencies-{{ checksum "/tmp/.python-version" }}-{{ checksum "api/requirements.txt" }} - - v1-dependencies-{{ checksum "/tmp/.python-version" }}- - - v1-dependencies- + - v2-dependencies-{{ checksum "/tmp/.python-version" }}-{{ checksum "api/requirements.txt" }} - run: python3 -m venv venv - run: command: | @@ -53,7 +51,7 @@ aliases: pip install flake8 touch front/dist/index.html - save_cache: - key: v1-dependencies-{{ checksum "/tmp/.python-version" }}-{{ checksum "api/requirements.txt" }} + key: v2-dependencies-{{ checksum "/tmp/.python-version" }}-{{ checksum "api/requirements.txt" }} paths: - ./venv - *persist_to_workspace |