diff --git a/dist/index.js b/dist/index.js index 721b223..c66301b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -234,7 +234,9 @@ function download(version, method, useLocalCache, useGitHubCache) { core.debug(`Tool was moved to cache directory ${cacheDirectory}`); executableDirectory = cacheDirectory; } - executableDirectory = downloadDirectory; + if (executableDirectory === undefined) { + executableDirectory = downloadDirectory; + } } core.debug(`Executable path ${executableDirectory}`); // String with full executable path