echo useVersion on local cache hit
This commit is contained in:
parent
811a846949
commit
5ad6acd0b1
2
dist/index.js
vendored
2
dist/index.js
vendored
|
@ -82210,7 +82210,7 @@ async function downloadZig(arch, platform, version3, useCache = true) {
|
|||
} = version3.includes("+") ? resolveCommit(arch, platform, version3) : await resolveVersion(arch, platform, version3);
|
||||
const cachedPath = toolCache.find(TOOL_NAME, useVersion);
|
||||
if (cachedPath) {
|
||||
actions.info(`using cached zig install: ${cachedPath}`);
|
||||
actions.info(`using cached zig install (version ${useVersion}): ${cachedPath}`);
|
||||
return cachedPath;
|
||||
}
|
||||
const cacheKey = `${TOOL_NAME}-${variantName}`;
|
||||
|
|
2
index.js
2
index.js
|
@ -28,7 +28,7 @@ async function downloadZig (arch, platform, version, useCache = true) {
|
|||
|
||||
const cachedPath = toolCache.find(TOOL_NAME, useVersion)
|
||||
if (cachedPath) {
|
||||
actions.info(`using cached zig install: ${cachedPath}`)
|
||||
actions.info(`using cached zig install (version ${useVersion}): ${cachedPath}`)
|
||||
return cachedPath
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user