From 5ad6acd0b1f29223c33b1eb057a18faf38592c8c Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sun, 28 Apr 2024 23:30:52 -0700 Subject: [PATCH] echo useVersion on local cache hit --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4923f05..9ac3d0e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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}`; diff --git a/index.js b/index.js index a62212f..8e2a113 100644 --- a/index.js +++ b/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 }