From b27d258d1d2ef397afe760076a84f15153fa5146 Mon Sep 17 00:00:00 2001 From: Matt Vallillo Date: Tue, 17 Sep 2024 15:41:40 -0400 Subject: [PATCH] Fix actions cache key (#1183) --- .github/actions/init-bare-environment/action.yml | 2 +- .github/actions/init-environment/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/init-bare-environment/action.yml b/.github/actions/init-bare-environment/action.yml index 1e8d018d2..00a588497 100644 --- a/.github/actions/init-bare-environment/action.yml +++ b/.github/actions/init-bare-environment/action.yml @@ -24,7 +24,7 @@ runs: uses: actions/cache@v3 with: path: .venv - key: venv-bare-${{ runner.os }}-${{ steps.setup-python.outputs.version }}-${{ hashFiles('**/poetry.lock') }} + key: venv-bare-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' diff --git a/.github/actions/init-environment/action.yml b/.github/actions/init-environment/action.yml index 50284ae9c..34a1fc926 100644 --- a/.github/actions/init-environment/action.yml +++ b/.github/actions/init-environment/action.yml @@ -24,7 +24,7 @@ runs: uses: actions/cache@v3 with: path: .venv - key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.version }}-${{ hashFiles('**/poetry.lock') }} + key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'