Skip to content

Scheduling infrastructure for absolutely everyone.

chore: delete cached build after bundle analysis completes (#26689)

Keith Williams6aa1dbad9065
diff --git a/.github/workflows/nextjs-bundle-analysis.yml b/.github/workflows/nextjs-bundle-analysis.yml
index 3f499d942cc..c796c9f6846 100644
--- a/.github/workflows/nextjs-bundle-analysis.yml
+++ b/.github/workflows/nextjs-bundle-analysis.yml
@@ -68,3 +68,9 @@ jobs:
with:
name: bundle
path: apps/web/.next/analyze/__bundle_analysis.json
+
+ - name: Delete cached build
+ uses: useblacksmith/cache-delete@v1
+ with:
+ key: prod-build-main-
+ prefix: "true"