mirror of
https://github.com/actions/setup-node.git
synced 2025-04-22 09:21:00 +00:00
add debug line
This commit is contained in:
parent
60732b4966
commit
817ef3e405
2 changed files with 2 additions and 0 deletions
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…
Add table
Reference in a new issue