Skip to content

Commit 88a6ffa

Browse files
committed
ci: fix broken rehydration of cached dependencies
1 parent 09e7c5b commit 88a6ffa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,10 @@ jobs:
322322
path: .venv
323323
key: venv-v2-${{ github.event.pull_request.head.repo.full_name || github.repository }}-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
324324

325+
- name: Add venv to PATH
326+
if: steps.cache-deps.outputs.cache-hit == 'true'
327+
run: echo "${{ github.workspace }}/.venv/bin" >> $GITHUB_PATH
328+
325329
- name: Install dependencies
326330
if: steps.cache-deps.outputs.cache-hit != 'true'
327331
run: poetry install --no-interaction --no-root --with dev

0 commit comments

Comments
 (0)