fix: remove proactive cache deletion to prevent race condition (#26698)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Keith Williams
2026-01-10 15:46:50 -03:00
committed by GitHub
co-authored by Devin AI
parent 9c4ed1a303
commit 2b4be9c34e
@@ -21,13 +21,6 @@ runs:
key: git-checkout-${{ github.head_ref || github.ref_name }}-${{ github.event.pull_request.head.sha || github.sha }}
fail-on-cache-miss: true
- name: Delete previous git-checkout caches for this branch
if: ${{ inputs.mode == 'save' }}
uses: useblacksmith/cache-delete@v1
with:
key: git-checkout-${{ github.head_ref || github.ref_name }}-
prefix: "true"
- name: Save git checkout to cache
if: ${{ inputs.mode == 'save' }}
uses: actions/cache/save@v4