Skip to content

Commit 419367e

Browse files
cdce8pDanielNoord
authored andcommitted
Fix pypy cache key [ci]
1 parent 303f07f commit 419367e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,10 @@ jobs:
360360
with:
361361
path: venv
362362
key: >-
363-
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
363+
${{ runner.os }}-${{ matrix.python-version }}-${{
364364
steps.generate-python-key.outputs.key }}
365365
restore-keys: |
366-
${{ runner.os }}-${{ steps.python.outputs.python-version }}-venv-${{ env.CACHE_VERSION }}-
366+
${{ runner.os }}-${{ matrix.python-version }}-venv-${{ env.CACHE_VERSION }}-
367367
- name: Create Python virtual environment
368368
if: steps.cache-venv.outputs.cache-hit != 'true'
369369
run: |
@@ -396,7 +396,7 @@ jobs:
396396
with:
397397
path: venv
398398
key:
399-
${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
399+
${{ runner.os }}-${{ matrix.python-version }}-${{
400400
needs.prepare-tests-pypy.outputs.python-key }}
401401
- name: Fail job if Python cache restore failed
402402
if: steps.cache-venv.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)