8000 ci: Fix cache key for Matplotlib data · Anselmoo/matplotlib@5f7cb7f · GitHub
[go: up one dir, main page]

Skip to content

Commit 5f7cb7f

Browse files
committed
ci: Fix cache key for Matplotlib data
All the others key off `matrix.os`, but this cache used `runner.os`, which doesn't key off the architecture, so Ubuntu x86_64 and arm were cross-contaminated.
1 parent 06548d2 commit 5f7cb7f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,10 @@ jobs:
236236
~/.cache/matplotlib
237237
!~/.cache/matplotlib/tex.cache
238238
!~/.cache/matplotlib/test_cache
239-
key: 4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
239+
key: 5-${{ matrix.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-${{ github.sha }}
240240
restore-keys: |
241-
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
242-
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-
241+
5-${{ matrix.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
242+
5-${{ matrix.os }}-py${{ matrix.python-version }}-mpl-
243243
244244
- name: Install Python dependencies
245245
run: |

0 commit comments

Comments
 (0)
0