Skip to content

Commit 9b810f6

Browse files
authored
Updating install.ts to automatically install dependencies for self and cloud hosted runners
1 parent 11fb9e2 commit 9b810f6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/install.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@ export async function install(platform: string, architecture: string, release: s
2626
}
2727

2828
// Install system dependencies if cloud-hosted
29-
if (process.env["RUNNER_ENVIRONMENT"] === "github-hosted" && process.env["AGENT_ISSELFHOSTED"] !== "1") {
30-
await core.group("Preparing system for MATLAB", async () => {
31-
await matlab.installSystemDependencies(platform, architecture, releaseInfo.name);
32-
});
33-
}
29+
//changing in Simran_dependencies to automatically install dependencies automatically for both self hosted and cloud hosted runners.
30+
await core.group("Preparing system for MATLAB", async () => {
31+
await matlab.installSystemDependencies(platform, architecture, releaseInfo.name);
32+
});
33+
34+
3435

3536
await core.group("Setting up MATLAB", async () => {
3637
let matlabArch = architecture;

0 commit comments

Comments
 (0)