mirror of
https://github.com/Swatinem/rust-cache.git
synced 2025-08-14 20:55:13 +00:00
make macos workaround silent
This commit is contained in:
parent
ef89c3a8eb
commit
08ca2ff969
2
dist/save/index.js
vendored
2
dist/save/index.js
vendored
@ -54888,7 +54888,7 @@ async function macOsWorkaround() {
|
|||||||
try {
|
try {
|
||||||
// Workaround for https://github.com/actions/cache/issues/403
|
// Workaround for https://github.com/actions/cache/issues/403
|
||||||
// Also see https://github.com/rust-lang/cargo/issues/8603
|
// Also see https://github.com/rust-lang/cargo/issues/8603
|
||||||
await exec.exec("sudo", ["/usr/sbin/purge"]);
|
await exec.exec("sudo", ["/usr/sbin/purge"], { silent: true });
|
||||||
}
|
}
|
||||||
catch (_a) { }
|
catch (_a) { }
|
||||||
}
|
}
|
||||||
|
@ -145,6 +145,6 @@ async function macOsWorkaround() {
|
|||||||
try {
|
try {
|
||||||
// Workaround for https://github.com/actions/cache/issues/403
|
// Workaround for https://github.com/actions/cache/issues/403
|
||||||
// Also see https://github.com/rust-lang/cargo/issues/8603
|
// Also see https://github.com/rust-lang/cargo/issues/8603
|
||||||
await exec.exec("sudo", ["/usr/sbin/purge"]);
|
await exec.exec("sudo", ["/usr/sbin/purge"], { silent: true });
|
||||||
} catch {}
|
} catch {}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user