Try fixing windows poetry cache key

This commit is contained in:
Micah Lee 2022-05-29 17:02:21 -07:00
parent 67262fa810
commit d2c55a0a8c
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -287,14 +287,14 @@ jobs:
command: (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python - command: (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python -
- restore_cache: - 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: - run:
name: Install poetry dependencies name: Install poetry dependencies
command: | command: |
cd C:\Users\circleci\project\desktop cd C:\Users\circleci\project\desktop
poetry install poetry install
- save_cache: - 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: paths:
- C:\Users\circleci\AppData\Local\pypoetry\Cache\virtualenvs - C:\Users\circleci\AppData\Local\pypoetry\Cache\virtualenvs
@ -487,14 +487,14 @@ jobs:
command: C:\Python-32bit\Scripts\pip install poetry command: C:\Python-32bit\Scripts\pip install poetry
- restore_cache: - 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: - run:
name: Install poetry dependencies name: Install poetry dependencies
command: | command: |
cd ~\project\desktop cd ~\project\desktop
C:\Python-32bit\Scripts\poetry install C:\Python-32bit\Scripts\poetry install
- save_cache: - 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: paths:
- C:\Users\circleci\AppData\Local\pypoetry\Cache\virtualenvs - C:\Users\circleci\AppData\Local\pypoetry\Cache\virtualenvs