Fix string interpolation when caching canaries (#2)
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
1dbdd42fee
@ -29,7 +29,7 @@ async function install(version) {
|
||||
const newCachedPath = await tc.cacheDir(
|
||||
extractedFolder,
|
||||
"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.addPath(newCachedPath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user