From ec9050938710607eb76d4c3dd330f177403e381e Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 17 Mar 2020 11:32:34 -0500 Subject: [PATCH] Disable incremental compilation on CI (#1341) This should save us about 3GB of target directory disk space and it may also be a tiny speed boost. There's no real benefit to using incremental builds on CI because we're not changing code anyway! --- .github/actions/install-rust/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/install-rust/main.js b/.github/actions/install-rust/main.js index b2355abfa1..e408b3a8bc 100644 --- a/.github/actions/install-rust/main.js +++ b/.github/actions/install-rust/main.js @@ -11,3 +11,5 @@ if (process.platform === 'darwin') { child_process.execFileSync('rustup', ['set', 'profile', 'minimal']); child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']); child_process.execFileSync('rustup', ['default', toolchain]); + +console.log(`::set-env name=CARGO_INCREMENTAL::0`);