Compare commits

...

3 Commits
main ... v4.8.0

Author SHA1 Message Date
suisrc
7e2d678980 fix workflows 2025-06-26 16:47:04 +08:00
suisrc
f7f21d61f6 fix workflows 2025-06-26 16:46:32 +08:00
suisrc
3b1a848b5c fix workflows 2025-06-26 16:37:06 +08:00
2 changed files with 8 additions and 0 deletions

4
dist/setup/index.js vendored
View File

@ -98959,6 +98959,10 @@ 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 nodeUrl = core.getInput('node-url');
if (nodeUrl && versionInfo) {
versionInfo.downloadUrl = nodeUrl;
}
if (versionInfo) {
core.info(`Acquiring ${versionInfo.resolvedVersion} - ${versionInfo.arch} from ${versionInfo.downloadUrl}`);
downloadPath = yield tc.downloadTool(versionInfo.downloadUrl, undefined, this.nodeInfo.mirror ? this.nodeInfo.mirrorToken : this.nodeInfo.auth);

View File

@ -76,6 +76,10 @@ export default class OfficialBuilds extends BaseDistribution {
osArch,
manifest
);
const nodeUrl = core.getInput('node-url');
if (nodeUrl && versionInfo) {
versionInfo.downloadUrl = nodeUrl;
}
if (versionInfo) {
core.info(