Skip to content

Commit bb7f705

Browse files
sbryngelsonclaude
andcommitted
Disable git clean on self-hosted runners to preserve build cache
actions/checkout@v4 defaults to clean: true, which runs git clean -ffdx. This follows the build/ symlink into the shared cache directory and deletes all cached artifacts (staging, install, venv), defeating the purpose of the persistent cache and causing SIGILL errors from partially destroyed build artifacts. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 79ce4e7 commit bb7f705

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ jobs:
210210
steps:
211211
- name: Clone
212212
uses: actions/checkout@v4
213+
with:
214+
clean: false
213215

214216
- name: Build
215217
if: matrix.cluster != 'phoenix'

0 commit comments

Comments
 (0)