Skip to content

Commit fc4982b

Browse files
committed
update cache dir
1 parent e53e6f4 commit fc4982b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Update setuptools
1919
run: python -m pip install --upgrade pip setuptools
2020
- name: Configure Poetry Cache Directory
21-
run: poetry config cache-dir ${{ runner.temp }}/poetry_cache --local
21+
run: poetry config cache-dir ${{ matrix.platform }}_${{ matrix.python-version }}/poetry_cache --local
2222
- name: Install poetry dependencies
2323
run: |
2424
poetry install -E dev --verbose
@@ -48,7 +48,7 @@ jobs:
4848
pipx install poetry
4949
poetry cache clear --all pypi
5050
- name: Configure Poetry Cache Directory
51-
run: poetry config cache-dir ${{ runner.temp }}/poetry_cache --local
51+
run: poetry config cache-dir ${{ matrix.platform }}_${{ matrix.python-version }}/poetry_cache --local
5252
- name: Install poetry dependencies
5353
run: |
5454
poetry env remove python || true

0 commit comments

Comments
 (0)