内网源
This commit is contained in:
4
dist/setup/index.js
vendored
4
dist/setup/index.js
vendored
@@ -94257,7 +94257,7 @@ class OfficialBuilds extends base_distribution_1.default {
|
||||
return `https://nodejs.org/dist`;
|
||||
}
|
||||
getManifest() {
|
||||
core.debug('Getting manifest from actions/node-versions@main');
|
||||
core.info('Getting manifest from actions/node-versions@main');
|
||||
return this.getManifestFromRepo('actions', 'node-versions', this.nodeInfo.auth, 'main');
|
||||
}
|
||||
getManifestFromRepo(owner, repo, auth, branch = 'master') {
|
||||
@@ -94339,7 +94339,7 @@ class OfficialBuilds extends base_distribution_1.default {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
let info = null;
|
||||
if (!manifest) {
|
||||
core.debug('No manifest cached');
|
||||
core.info('No manifest cached');
|
||||
manifest = yield this.getManifest();
|
||||
}
|
||||
const rel = yield tc.findFromManifest(versionSpec, stable, manifest, osArch);
|
||||
|
@@ -190,7 +190,7 @@ export default class OfficialBuilds extends BaseDistribution {
|
||||
}
|
||||
|
||||
private getManifest(): Promise<tc.IToolRelease[]> {
|
||||
core.debug('Getting manifest from actions/node-versions@main');
|
||||
core.info('Getting manifest from actions/node-versions@main');
|
||||
return this.getManifestFromRepo(
|
||||
'actions',
|
||||
'node-versions',
|
||||
@@ -320,7 +320,7 @@ export default class OfficialBuilds extends BaseDistribution {
|
||||
): Promise<INodeVersionInfo | null> {
|
||||
let info: INodeVersionInfo | null = null;
|
||||
if (!manifest) {
|
||||
core.debug('No manifest cached');
|
||||
core.info('No manifest cached');
|
||||
manifest = await this.getManifest();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user