Only run macOsWorkaround() on macOS (#206)

This commit is contained in:
Gunnar Lilleaasen 2024-09-17 17:45:02 +02:00 committed by GitHub
parent 9bdad043e8
commit 96a8d65dba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

2
dist/save/index.js vendored
View File

@ -88832,7 +88832,9 @@ async function run() {
config.printInfo(cacheProvider);
core.info("");
// TODO: remove this once https://github.com/actions/toolkit/pull/553 lands
if (process.env["RUNNER_OS"] == "macOS") {
await macOsWorkaround();
}
const allPackages = [];
for (const workspace of config.workspaces) {
const packages = await workspace.getPackagesOutsideWorkspaceRoot();

View File

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