mirror of
https://gitea.com/actions/setup-deno.git
synced 2025-12-10 18:36:42 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user