Add python version as part of cache hash.

This commit is contained in:
Zied Aouini 2021-04-16 14:47:27 +02:00
parent 46f01678c6
commit ed7ec3f568

View file

@ -33,7 +33,7 @@ jobs:
id: pip-cache
with:
path: .cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/ci_requirements.txt') }}
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/ci_requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install ubuntu Prerequisites