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);
     }