fix(ci): disable compile cache for cross-os upgrades

This commit is contained in:
Peter Steinberger
2026-04-28 22:02:08 +01:00
parent 7a5638ea88
commit 7b2b0d07e8
2 changed files with 7 additions and 1 deletions

View File

@@ -1219,8 +1219,12 @@ export function shouldSkipInstallerDaemonHealthCheck(platform = process.platform
}
export function buildRealUpdateEnv(env) {
const updateEnv = { ...env };
const updateEnv = {
...env,
NODE_DISABLE_COMPILE_CACHE: "1",
};
delete updateEnv.OPENCLAW_DISABLE_BUNDLED_PLUGIN_POSTINSTALL;
delete updateEnv.NODE_COMPILE_CACHE;
return updateEnv;
}