From 817ef3e405094cab85aee4337b2bf97063139912 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Wed, 19 Oct 2022 15:35:46 +0200 Subject: [PATCH] add debug line --- dist/setup/index.js | 1 + src/installer.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/setup/index.js b/dist/setup/index.js index 43838707..8d35353f 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -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; } diff --git a/src/installer.ts b/src/installer.ts index efa081a7..dab8900f 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -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;