diff --git a/src/save.ts b/src/save.ts index 4a4f156..ed338bb 100644 --- a/src/save.ts +++ b/src/save.ts @@ -32,7 +32,9 @@ async function run() { core.info(""); // TODO: remove this once https://github.com/actions/toolkit/pull/553 lands - await macOsWorkaround(); + if (process.env["RUNNER_OS"] == "macOS") { + await macOsWorkaround(); + } const allPackages = []; for (const workspace of config.workspaces) {