From ed7ec3f5686ccf7932ba1d0fe71e5284f9ca64bc Mon Sep 17 00:00:00 2001 From: Zied Aouini Date: Fri, 16 Apr 2021 14:47:27 +0200 Subject: [PATCH] Add python version as part of cache hash. --- .github/workflows/build_and_publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 126a10c..7c7a700 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -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