Skip to content

Commit 2bd5c45

Browse files
committed
Print the key
1 parent e185a51 commit 2bd5c45

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
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: 2 additions & 1 deletion
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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ export async function install(platform: string, release: string, products: strin
2727

2828

2929
const matlabLocation = "/opt/matlab/";
30-
const key = platform + release + products.join("-");
30+
const key = platform + release + products.sort().join("-");
31+
console.log("Caching with key: " + key);
3132
let cacheKey;
3233

3334
await core.group("Retrieving MATLAB from cache if available", async () => {

0 commit comments

Comments
 (0)