Skip to content

Commit

Permalink
add python version to cache keys
Browse files Browse the repository at this point in the history
  • Loading branch information
NodeJSmith committed Jun 12, 2024
1 parent 6122ca6 commit d074c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }}-${{ matrix.python-version }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-pip-${{ matrix.python-version }}
- name: Install dependencies
run: |
Expand Down

0 comments on commit d074c68

Please sign in to comment.