Skip to content

Commit 80c4f50

Browse files
authored
CI: Remove the .dvc/cache directory before downloading dvc-cache from GitHub (#4194)
1 parent 0d7f0ab commit 80c4f50

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ jobs:
174174
- name: Download DVC cache as artifacts from GitHub
175175
if: steps.dvc-pull.outcome == 'failure'
176176
run: |
177+
rm -rvf .dvc/cache/
177178
gh run download --name dvc-cache --dir .dvc/cache/
178179
uv run dvc checkout --verbose
179180
env:

.github/workflows/ci_tests_dev.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ jobs:
172172
- name: Download DVC cache as artifacts from GitHub
173173
if: steps.dvc-pull.outcome == 'failure'
174174
run: |
175+
rm -rvf .dvc/cache/
175176
gh run download --name dvc-cache --dir .dvc/cache/
176177
dvc checkout --verbose
177178
env:

0 commit comments

Comments
 (0)