add debug line

This commit is contained in:
Dmitry Shibanov 2022-10-19 15:35:46 +02:00
parent 60732b4966
commit 817ef3e405
2 changed files with 2 additions and 0 deletions

1
dist/setup/index.js vendored
View File

@ -73330,6 +73330,7 @@ function getNode(versionSpec, stable, checkLatest, auth, arch = os.arch()) {
exports.getNode = getNode;
function findNightlyVersionInHostedToolcache(versionsSpec, osArch) {
const foundAllVersions = tc.findAllVersions('node', osArch);
core.debug(foundAllVersions.join('\n'));
const version = evaluateVersions(foundAllVersions, versionsSpec);
return version;
}

View File

@ -220,6 +220,7 @@ function findNightlyVersionInHostedToolcache(
osArch: string
) {
const foundAllVersions = tc.findAllVersions('node', osArch);
core.debug(foundAllVersions.join('\n'));
const version = evaluateVersions(foundAllVersions, versionsSpec);
return version;