Skip to content

Commit e185a51

Browse files
committed
Cache in the right place
1 parent 09fdde4 commit e185a51

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/install.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/install.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/install.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ export async function install(platform: string, release: string, products: strin
5555

5656
});
5757

58+
await core.group("Saving MATLAB to cache", async () => {
59+
await cache.saveCache([matlabLocation], key);
60+
});
61+
5862
}
5963

6064
await core.group("Adding MATLAB to path", async () => {
@@ -64,9 +68,7 @@ export async function install(platform: string, release: string, products: strin
6468
await script.downloadAndRunScript(platform, properties.matlabBatchInstallerUrl, []);
6569
});
6670

67-
await core.group("Saving MATLAB to cache", async () => {
68-
await cache.saveCache([matlabLocation], key);
69-
});
71+
7072

7173
return;
7274
}

0 commit comments

Comments
 (0)