mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-02-13 11:40:33 -05:00
versionSpec
This commit is contained in:
parent
b587ad80d9
commit
67032b7211
2 changed files with 3 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -100670,7 +100670,7 @@ class OfficialBuilds extends base_distribution_1.default {
|
|||
const versions = this.filterVersions(nodeJsVersions);
|
||||
core.info('versions' + versions);
|
||||
const evaluatedVersion = this.evaluateVersions(versions);
|
||||
core.info('eversions' + evaluatedVersion);
|
||||
core.info('versionSpec' + this.nodeInfo.versionSpec);
|
||||
if (this.nodeInfo.checkLatest) {
|
||||
const evaluatedVersion = yield this.findVersionInDist(nodeJsVersions);
|
||||
this.nodeInfo.versionSpec = evaluatedVersion;
|
||||
|
|
|
@ -320,7 +320,8 @@ export default class OfficialBuilds extends BaseDistribution {
|
|||
core.info('versions'+versions);
|
||||
|
||||
const evaluatedVersion = this.evaluateVersions(versions);
|
||||
core.info('eversions'+evaluatedVersion);
|
||||
core.info('versionSpec'+this.nodeInfo.versionSpec);
|
||||
|
||||
if (this.nodeInfo.checkLatest) {
|
||||
const evaluatedVersion = await this.findVersionInDist(nodeJsVersions);
|
||||
this.nodeInfo.versionSpec = evaluatedVersion;
|
||||
|
|
Loading…
Add table
Reference in a new issue