mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 13:14:44 +00:00
Revert "Temporarily disabled cache usage for v2"
This commit is contained in:
parent
d6e3b5539e
commit
d21ecc7c5b
4 changed files with 11 additions and 20 deletions
5
dist/setup/index.js
vendored
5
dist/setup/index.js
vendored
|
@ -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 = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue