mirror of
https://github.com/Swatinem/rust-cache
synced 2025-06-20 07:13:40 +00:00
Only run macOsWorkaround() on macOS.
This commit is contained in:
parent
9bdad043e8
commit
ba53a2152f
1 changed files with 3 additions and 1 deletions
|
@ -32,7 +32,9 @@ async function run() {
|
||||||
core.info("");
|
core.info("");
|
||||||
|
|
||||||
// TODO: remove this once https://github.com/actions/toolkit/pull/553 lands
|
// TODO: remove this once https://github.com/actions/toolkit/pull/553 lands
|
||||||
|
if (process.env["RUNNER_OS"] == "macOS") {
|
||||||
await macOsWorkaround();
|
await macOsWorkaround();
|
||||||
|
}
|
||||||
|
|
||||||
const allPackages = [];
|
const allPackages = [];
|
||||||
for (const workspace of config.workspaces) {
|
for (const workspace of config.workspaces) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue