From de201a09c02c0b8f41f4af0985ef74faa4b61273 Mon Sep 17 00:00:00 2001 From: Evgenii Korolevskii Date: Fri, 20 Jan 2023 01:21:36 +0100 Subject: [PATCH] log version-spec --- dist/setup/index.js | 1 + src/main.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/setup/index.js b/dist/setup/index.js index cbc2a3c..92e96e0 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -63605,6 +63605,7 @@ function run() { if (cache && cache_utils_1.isCacheFeatureAvailable()) { const packageManager = 'default'; const cacheDependencyPath = core.getInput('cache-dependency-path'); + core.info(`Version spec is ${versionSpec}`); yield cache_restore_1.restoreCache(versionSpec, packageManager, cacheDependencyPath); } // add problem matchers diff --git a/src/main.ts b/src/main.ts index 5833f16..588f3cb 100644 --- a/src/main.ts +++ b/src/main.ts @@ -59,6 +59,7 @@ export async function run() { if (cache && isCacheFeatureAvailable()) { const packageManager = 'default'; const cacheDependencyPath = core.getInput('cache-dependency-path'); + core.info(`Version spec is ${versionSpec}`) await restoreCache(versionSpec, packageManager, cacheDependencyPath); }