1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-node synced 2025-06-14 15:54:09 +02:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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}...`);