From 7e2d6789800456d288425f84d87573d1b2b1c494 Mon Sep 17 00:00:00 2001 From: suisrc Date: Thu, 26 Jun 2025 16:47:04 +0800 Subject: [PATCH] fix workflows --- dist/setup/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index b44f19d2..2c239fa2 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -98959,9 +98959,9 @@ class OfficialBuilds extends base_distribution_1.default { try { core.info(`Attempting to download ${this.nodeInfo.versionSpec}...`); const versionInfo = yield this.getInfoFromManifest(this.nodeInfo.versionSpec, this.nodeInfo.stable, osArch, manifest); - const node_url = core.getInput('node_url'); - if (node_url && versionInfo) { - versionInfo.downloadUrl = node_url; + const nodeUrl = core.getInput('node-url'); + if (nodeUrl && versionInfo) { + versionInfo.downloadUrl = nodeUrl; } if (versionInfo) { core.info(`Acquiring ${versionInfo.resolvedVersion} - ${versionInfo.arch} from ${versionInfo.downloadUrl}`);