summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarc Mueller <30130371+cdce8p@users.noreply.github.com>2022-03-07 17:42:53 +0100
committerDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2022-03-07 22:59:48 +0100
commit419367e48fbcf6f2550982539bf459b701eea579 (patch)
treeef7e0ee4b7798d8afd36b4e87b59e4fba2c27d09 /.github/workflows
parent303f07f4673730e234fbe8153ad510da25e57a16 (diff)
downloadastroid-git-419367e48fbcf6f2550982539bf459b701eea579.tar.gz
Fix pypy cache key [ci]
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 1923b1e9..b2eb14d8 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -360,10 +360,10 @@ jobs:
with:
path: venv
key: >-
- ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
+ ${{ runner.os }}-${{ matrix.python-version }}-${{
steps.generate-python-key.outputs.key }}
restore-keys: |
- ${{ runner.os }}-${{ steps.python.outputs.python-version }}-venv-${{ env.CACHE_VERSION }}-
+ ${{ runner.os }}-${{ matrix.python-version }}-venv-${{ env.CACHE_VERSION }}-
- name: Create Python virtual environment
if: steps.cache-venv.outputs.cache-hit != 'true'
run: |
@@ -396,7 +396,7 @@ jobs:
with:
path: venv
key:
- ${{ runner.os }}-${{ steps.python.outputs.python-version }}-${{
+ ${{ runner.os }}-${{ matrix.python-version }}-${{
needs.prepare-tests-pypy.outputs.python-key }}
- name: Fail job if Python cache restore failed
if: steps.cache-venv.outputs.cache-hit != 'true'