Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 835c466054 |
Vendored
-4
@@ -98959,10 +98959,6 @@ 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);
|
||||
|
||||
Generated
+1780
-275
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -48,7 +48,7 @@
|
||||
"eslint-plugin-jest": "^27.9.0",
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"jest": "^29.7.0",
|
||||
"jest-circus": "^29.7.0",
|
||||
"jest-circus": "^30.0.2",
|
||||
"jest-each": "^29.7.0",
|
||||
"prettier": "^2.8.4",
|
||||
"ts-jest": "^29.1.2",
|
||||
|
||||
@@ -76,10 +76,6 @@ export default class OfficialBuilds extends BaseDistribution {
|
||||
osArch,
|
||||
manifest
|
||||
);
|
||||
const nodeUrl = core.getInput('node-url');
|
||||
if (nodeUrl && versionInfo) {
|
||||
versionInfo.downloadUrl = nodeUrl;
|
||||
}
|
||||
|
||||
if (versionInfo) {
|
||||
core.info(
|
||||
|
||||
Reference in New Issue
Block a user