Skip to content

Commit

Permalink
Do not load cached virtual env
Browse files Browse the repository at this point in the history
  • Loading branch information
gbolmier committed Jun 24, 2024
1 parent 5850f7f commit 41e3f69
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/actions/install-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ runs:
virtualenvs-in-project: true
installer-parallel: true

- name: Load cached virtual env
id: cached-poetry-dependencies
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.set-up-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
# - name: Load cached virtual env
# id: cached-poetry-dependencies
# uses: actions/cache@v3
# with:
# path: .venv
# key: venv-${{ runner.os }}-${{ steps.set-up-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies
shell: bash
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
# if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-ansi --no-root

- name: Build
Expand Down

0 comments on commit 41e3f69

Please sign in to comment.