mirror of
https://github.com/actions/setup-node
synced 2025-04-20 07:03:11 +00:00
add debug line
This commit is contained in:
parent
60732b4966
commit
817ef3e405
1
dist/setup/index.js
vendored
1
dist/setup/index.js
vendored
@ -73330,6 +73330,7 @@ function getNode(versionSpec, stable, checkLatest, auth, arch = os.arch()) {
|
|||||||
exports.getNode = getNode;
|
exports.getNode = getNode;
|
||||||
function findNightlyVersionInHostedToolcache(versionsSpec, osArch) {
|
function findNightlyVersionInHostedToolcache(versionsSpec, osArch) {
|
||||||
const foundAllVersions = tc.findAllVersions('node', osArch);
|
const foundAllVersions = tc.findAllVersions('node', osArch);
|
||||||
|
core.debug(foundAllVersions.join('\n'));
|
||||||
const version = evaluateVersions(foundAllVersions, versionsSpec);
|
const version = evaluateVersions(foundAllVersions, versionsSpec);
|
||||||
return version;
|
return version;
|
||||||
}
|
}
|
||||||
|
@ -220,6 +220,7 @@ function findNightlyVersionInHostedToolcache(
|
|||||||
osArch: string
|
osArch: string
|
||||||
) {
|
) {
|
||||||
const foundAllVersions = tc.findAllVersions('node', osArch);
|
const foundAllVersions = tc.findAllVersions('node', osArch);
|
||||||
|
core.debug(foundAllVersions.join('\n'));
|
||||||
const version = evaluateVersions(foundAllVersions, versionsSpec);
|
const version = evaluateVersions(foundAllVersions, versionsSpec);
|
||||||
|
|
||||||
return version;
|
return version;
|
||||||
|
Loading…
Reference in New Issue
Block a user