内网源

This commit is contained in:
2023-10-24 17:31:32 +08:00
parent e88ea03761
commit 122dd47e5f
2 changed files with 4 additions and 4 deletions

4
dist/setup/index.js vendored
View File

@@ -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);

View File

@@ -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();
}