mirror of
https://github.com/actions/setup-node.git
synced 2025-07-22 07:56:10 +08:00
Revert "Temporarily disabled cache usage for v2"
This commit is contained in:
@@ -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}...`);
|
||||
|
Reference in New Issue
Block a user