mirror of
https://github.com/actions/setup-node.git
synced 2025-01-31 20:37:14 +07:00
versionSpec
This commit is contained in:
parent
b587ad80d9
commit
67032b7211
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…
Reference in New Issue
Block a user