Skip to content

Commit

Permalink
Revert "Include poetry cache key in venv cache key"
Browse files Browse the repository at this point in the history
This reverts commit 2548909.
  • Loading branch information
agriyakhetarpal committed Nov 19, 2024
1 parent da54121 commit 9aa26e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/install-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9aa26e0

Please sign in to comment.