Skip to content

Commit bf9e4b9

Browse files
committed
npm run build
Signed-off-by: Timo Sand <timo.sand@f-secure.com>
1 parent 2aa2c31 commit bf9e4b9

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

dist/setup/index.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79822,7 +79822,9 @@ class OfficialBuilds extends base_distribution_1.default {
7982279822
const versionInfo = await this.getInfoFromManifest(this.nodeInfo.versionSpec, this.nodeInfo.stable, osArch, manifest);
7982379823
if (versionInfo) {
7982479824
core.info(`Acquiring ${versionInfo.resolvedVersion} - ${versionInfo.arch} from ${versionInfo.downloadUrl}`);
79825-
downloadPath = await tc.downloadTool(versionInfo.downloadUrl, undefined, this.nodeInfo.mirror ? this.nodeInfo.mirrorToken : this.nodeInfo.auth);
79825+
downloadPath = await tc.downloadTool(versionInfo.downloadUrl, undefined, this.nodeInfo.mirror && this.nodeInfo.mirrorToken
79826+
? this.nodeInfo.mirrorToken
79827+
: this.nodeInfo.auth);
7982679828
if (downloadPath) {
7982779829
toolPath = await this.extractArchive(downloadPath, versionInfo, false);
7982879830
}
@@ -79893,7 +79895,9 @@ class OfficialBuilds extends base_distribution_1.default {
7989379895
}
7989479896
getManifest() {
7989579897
core.debug('Getting manifest from actions/node-versions@main');
79896-
return tc.getManifestFromRepo('actions', 'node-versions', this.nodeInfo.mirror ? this.nodeInfo.mirrorToken : this.nodeInfo.auth, 'main');
79898+
return tc.getManifestFromRepo('actions', 'node-versions', this.nodeInfo.mirror && this.nodeInfo.mirrorToken
79899+
? this.nodeInfo.mirrorToken
79900+
: this.nodeInfo.auth, 'main');
7989779901
}
7989879902
resolveLtsAliasFromManifest(versionSpec, stable, manifest) {
7989979903
const alias = versionSpec.split('lts/')[1]?.toLowerCase();

0 commit comments

Comments
 (0)