Skip to content

Commit 48e551f

Browse files
committed
Fix Windows CI: disable venv caching to avoid stale Python paths
1 parent 105f260 commit 48e551f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ jobs:
3030
virtualenvs-create: true
3131
virtualenvs-in-project: true
3232

33-
- name: Load cached venv
33+
- name: Load cached venv (Unix only)
3434
id: cached-poetry-dependencies
35+
if: runner.os != 'Windows'
3536
uses: actions/cache@v4
3637
with:
3738
path: .venv
@@ -42,7 +43,7 @@ jobs:
4243
run: poetry install --no-interaction --no-root
4344

4445
- name: Install dependencies (Windows)
45-
if: runner.os == 'Windows' && steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
46+
if: runner.os == 'Windows'
4647
shell: bash
4748
run: poetry install --no-interaction --no-root
4849

0 commit comments

Comments
 (0)