Skip to content

Commit 02989f4

Browse files
authored
Update install.ts
1 parent 41342fb commit 02989f4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/install.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ export async function install(platform: string, architecture: string, release: s
2525
return Promise.reject(Error(`Release '${releaseInfo.name}' is not supported. Use 'R2020b' or a later release.`));
2626
}
2727

28-
// // Install system dependencies if cloud-hosted
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-
// });
28+
// Install system dependencies if cloud-hosted
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+
});
3333

34-
if (process.env["RUNNER_ENVIRONMENT"] === "github-hosted" && process.env["AGENT_ISSELFHOSTED"] !== "1") {
35-
await core.group("Preparing system for MATLAB", async () => {
36-
await matlab.installSystemDependencies(platform, architecture, releaseInfo.name);
37-
});
38-
}
34+
// if (process.env["RUNNER_ENVIRONMENT"] === "github-hosted" && process.env["AGENT_ISSELFHOSTED"] !== "1") {
35+
// await core.group("Preparing system for MATLAB", async () => {
36+
// await matlab.installSystemDependencies(platform, architecture, releaseInfo.name);
37+
// });
38+
// }
3939

4040

4141
await core.group("Setting up MATLAB", async () => {

0 commit comments

Comments
 (0)