Skip to content

Commit b6df794

Browse files
committed
CI unhealthy cache on windows fix
1 parent 4a56eb6 commit b6df794

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/python-test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
key: venv-${{ github.event_name }}-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
4646

4747
- name: Ensure cache is healthy
48-
if: steps.cache.outputs.cache-hit == 'true' && runner.os == 'Linux'
48+
if: steps.cache.outputs.cache-hit == 'true'
49+
shell: bash
4950
run: timeout 10s poetry run pip --version || rm -rf .venv
5051

5152
- name: Install dependencies

0 commit comments

Comments
 (0)