Skip to content

Commit f40532b

Browse files
committed
fix caching in the workflow
1 parent b217572 commit f40532b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
uses: actions/cache@v1
5757
with:
5858
path: redis
59-
key: ${{ runner.os }}-redis
59+
key: ${{ matrix.platform }}-${{ matrix.python }}-redis
60+
restore-keys: |
61+
${{ matrix.platform }}-${{ matrix.python }}-redis
6062
6163
- name: Install Redis Server test dependencies
6264
if: steps.cache-redis.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)