1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-node synced 2025-06-11 06:22:21 +02:00

Temporarily disabled cache usage

This commit is contained in:
AlyonaSviridenko 2021-08-03 18:33:25 +03:00
parent aa759c6c94
commit 004fb83876
3 changed files with 20 additions and 13 deletions

View file

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