From d074c68f2e67e772c4dc974826a3518e5c0c61fe Mon Sep 17 00:00:00 2001 From: Jessica Smith <12jessicasmith34@gmail.com> Date: Wed, 12 Jun 2024 16:37:00 -0500 Subject: [PATCH] add python version to cache keys --- .github/workflows/python_package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python_package.yml b/.github/workflows/python_package.yml index 50e83c9..add14c8 100644 --- a/.github/workflows/python_package.yml +++ b/.github/workflows/python_package.yml @@ -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: |