mirror of
https://github.com/actions/setup-node.git
synced 2026-10-17 10:37:52 +02:00
Revert "Temporarily disabled cache usage for v2"
This commit is contained in:
1 parent
d6e3b5539e
commit
d21ecc7c5b
4 files changed
+11
-20
No files matched your search
Vendored
+3
-2
@@ -65086,8 +65086,9 @@ function getNode(versionSpec, stable, checkLatest, auth, arch = os.arch()) {
|
||||
let toolPath;
|
||||
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}...`);
|
||||
let downloadPath = '';
|
||||
|
||||
Reference in new issue
Block a user