fix workflows
This commit is contained in:
parent
08f58d1471
commit
3b1a848b5c
4
dist/setup/index.js
vendored
4
dist/setup/index.js
vendored
@ -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 node_url = core.getInput('node_url');
|
||||
if (node_url && versionInfo) {
|
||||
versionInfo.downloadUrl = node_url;
|
||||
}
|
||||
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);
|
||||
|
||||
@ -76,6 +76,10 @@ export default class OfficialBuilds extends BaseDistribution {
|
||||
osArch,
|
||||
manifest
|
||||
);
|
||||
const node_url = core.getInput('node_url');
|
||||
if (node_url && versionInfo) {
|
||||
versionInfo.downloadUrl = node_url;
|
||||
}
|
||||
|
||||
if (versionInfo) {
|
||||
core.info(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user