From 9aa26e094631f73eecaa77c9990cbf6513542cd5 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Tue, 19 Nov 2024 08:49:41 +0530 Subject: [PATCH] Revert "Include poetry cache key in venv cache key" This reverts commit 25489098e63d6b5031c74d302d0e318885dc89af. --- .github/actions/install-env/action.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/actions/install-env/action.yml b/.github/actions/install-env/action.yml index 92173b4f85..7c62d4f2eb 100644 --- a/.github/actions/install-env/action.yml +++ b/.github/actions/install-env/action.yml @@ -23,11 +23,10 @@ runs: python-version: ${{ inputs.python-version }} - name: Load cached Poetry installation - id: cached-poetry-installation uses: actions/cache@v4 with: path: ~/.local # the path depends on the OS - key: poetry-1 # increment to reset cache + key: poetry-5 # increment to reset cache - name: Install poetry uses: snok/install-poetry@v1 @@ -41,7 +40,7 @@ runs: uses: actions/cache@v4 with: path: .venv - key: venv-${{ runner.os }}-${{ steps.set-up-python.outputs.python-version }}-${{ steps.cached-poetry-installation.inputs.key }}-${{ hashFiles('**/poetry.lock') }} + key: venv-${{ runner.os }}-${{ steps.set-up-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Install dependencies shell: bash