Skip to content

Scheduling infrastructure for absolutely everyone.

build: adds action to manually remove faulty cache entries (#14017)

Omar López286f6963021b
diff --git a/.github/workflows/delete-buildjet-cache.yml b/.github/workflows/delete-buildjet-cache.yml
new file mode 100644
index 00000000000..8f34eb4d23f
--- /dev/null
+++ b/.github/workflows/delete-buildjet-cache.yml
@@ -0,0 +1,17 @@
+name: Manually Delete BuildJet Cache
+on:
+ workflow_dispatch:
+ inputs:
+ cache_key:
+ description: "BuildJet Cache Key to Delete"
+ required: true
+ type: string
+jobs:
+ manually-delete-buildjet-cache:
+ runs-on: buildjet-2vcpu-ubuntu-2204
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ - uses: buildjet/cache-delete@v1
+ with:
+ cache_key: ${{ inputs.cache_key }}