next.js
94e9fa67 - Disable build caches for production/staging/force-preview deploys (#92792)

Commit
90 days ago
Disable build caches for production/staging/force-preview deploys (#92792) ## Summary Set `NEXT_SKIP_BUILD_CACHE=1` as a job-level env var for production, staging, and force-preview deploy targets. Each caching step checks this var: - **Rust cache** (`ijjk/rust-cache`) — skipped - **Native binary cache** (`native-cache.js` restore/save) — skipped - **Turbo remote cache** — not passed to Docker builds; set to `local` for non-Docker builds - **sccache** — env vars not passed to Docker builds Automated-preview builds (PRs) continue to use all caches as before. <!-- NEXT_JS_LLM_PR -->
Author
Parents
Loading