From d2c55a0a8cd8e66e8948f2d32647548d7c99201f Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sun, 29 May 2022 17:02:21 -0700 Subject: [PATCH] Try fixing windows poetry cache key --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a4885155..8a314ece 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -287,14 +287,14 @@ jobs: command: (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python - - restore_cache: - key: build-win64-desktop-poetry-deps-{{ checksum "project/desktop/poetry.lock" }}-{{ .Environment.CACHE_VERSION }} + key: build-win64-desktop-poetry-deps-{{ checksum "~/project/desktop/poetry.lock" }}-{{ .Environment.CACHE_VERSION }} - run: name: Install poetry dependencies command: | cd C:\Users\circleci\project\desktop poetry install - save_cache: - key: build-win64-desktop-poetry-deps-{{ checksum "project/desktop/poetry.lock" }}-{{ .Environment.CACHE_VERSION }} + key: build-win64-desktop-poetry-deps-{{ checksum "~/project/desktop/poetry.lock" }}-{{ .Environment.CACHE_VERSION }} paths: - C:\Users\circleci\AppData\Local\pypoetry\Cache\virtualenvs @@ -487,14 +487,14 @@ jobs: command: C:\Python-32bit\Scripts\pip install poetry - restore_cache: - key: build-win32-desktop-poetry-deps-{{ checksum "project/desktop/poetry.lock" }}-{{ .Environment.CACHE_VERSION }} + key: build-win32-desktop-poetry-deps-{{ checksum "~/project/desktop/poetry.lock" }}-{{ .Environment.CACHE_VERSION }} - run: name: Install poetry dependencies command: | cd ~\project\desktop C:\Python-32bit\Scripts\poetry install - save_cache: - key: build-win32-desktop-poetry-deps-{{ checksum "project/desktop/poetry.lock" }}-{{ .Environment.CACHE_VERSION }} + key: build-win32-desktop-poetry-deps-{{ checksum "~/project/desktop/poetry.lock" }}-{{ .Environment.CACHE_VERSION }} paths: - C:\Users\circleci\AppData\Local\pypoetry\Cache\virtualenvs