diff --git a/dist/setup/index.js b/dist/setup/index.js index 92e96e0..525b57c 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -63605,7 +63605,8 @@ function run() { if (cache && cache_utils_1.isCacheFeatureAvailable()) { const packageManager = 'default'; const cacheDependencyPath = core.getInput('cache-dependency-path'); - core.info(`Version spec is ${versionSpec}`); + let goPath = yield io.which('go'); + core.info(`Version spec is ${versionSpec}, go path is ${goPath}`); yield cache_restore_1.restoreCache(versionSpec, packageManager, cacheDependencyPath); } // add problem matchers diff --git a/src/main.ts b/src/main.ts index 588f3cb..400c788 100644 --- a/src/main.ts +++ b/src/main.ts @@ -59,7 +59,8 @@ export async function run() { if (cache && isCacheFeatureAvailable()) { const packageManager = 'default'; const cacheDependencyPath = core.getInput('cache-dependency-path'); - core.info(`Version spec is ${versionSpec}`) + let goPath = await io.which('go'); + core.info(`Version spec is ${versionSpec}, go path is ${goPath}`) await restoreCache(versionSpec, packageManager, cacheDependencyPath); }