Skip to content

Scheduling infrastructure for absolutely everyone.

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

Keith Williams2b4be9c34ee5
diff --git a/.github/actions/cache-checkout/action.yml b/.github/actions/cache-checkout/action.yml
index 5a0242eda0b..d7bbf1fe515 100644
--- a/.github/actions/cache-checkout/action.yml
+++ b/.github/actions/cache-checkout/action.yml
@@ -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