Fix string interpolation when caching canaries
Previously, any canary's cache key would be `0.0.0-[object Object]` which isn't terribly ideal if multiple canaries are at play.
This commit is contained in:
parent
a33d97bf8b
commit
9f6f808769
@ -29,7 +29,7 @@ async function install(version) {
|
|||||||
const newCachedPath = await tc.cacheDir(
|
const newCachedPath = await tc.cacheDir(
|
||||||
extractedFolder,
|
extractedFolder,
|
||||||
"deno",
|
"deno",
|
||||||
version.isCanary ? `0.0.0-${version}` : version.version,
|
version.isCanary ? `0.0.0-${version.version}` : version.version,
|
||||||
);
|
);
|
||||||
core.info(`Cached Deno to ${newCachedPath}.`);
|
core.info(`Cached Deno to ${newCachedPath}.`);
|
||||||
core.addPath(newCachedPath);
|
core.addPath(newCachedPath);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user