Revert "Temporarily disabled cache usage for v2"

This commit is contained in:
Alena Sviridenko
2021-08-04 17:00:35 +03:00
committed by GitHub
parent d6e3b5539e
commit d21ecc7c5b
4 changed files with 11 additions and 20 deletions

View File

@@ -71,8 +71,7 @@ export async function getNode(
toolPath = tc.find('node', versionSpec, osArch);
// If not found in cache, download
// Usage of pre-cached Node.js versions is temporarily disabled.
if (false) {
if (toolPath) {
core.info(`Found in cache @ ${toolPath}`);
} else {
core.info(`Attempting to download ${versionSpec}...`);