diff --git a/dist/restore/index.js b/dist/restore/index.js
index 7896566..7ef0ef5 100644
--- a/dist/restore/index.js
+++ b/dist/restore/index.js
@@ -48993,6 +48993,7 @@ function run() {
             //Check if user wants to save cache despite of failure in any previous job
             const saveCache = process.env[constants_1.Inputs.SaveCacheOnAnyFailure];
             if (saveCache === "yes") {
+                core.debug(`save cache input variable is set to yes`);
                 core.exportVariable(constants_1.Variables.SaveCacheOnAnyFailure, saveCache);
                 core.info(`Input Variable ${constants_1.Variables.SaveCacheOnAnyFailure} is set to yes, the cache will be saved despite of any failure in the build.`);
             }
diff --git a/src/restore.ts b/src/restore.ts
index 065cfd4..29fb5e1 100644
--- a/src/restore.ts
+++ b/src/restore.ts
@@ -38,6 +38,7 @@ async function run(): Promise<void> {
         //Check if user wants to save cache despite of failure in any previous job
         const saveCache = process.env[Inputs.SaveCacheOnAnyFailure];
         if (saveCache === "yes") {
+            core.debug(`save cache input variable is set to yes`);
             core.exportVariable(Variables.SaveCacheOnAnyFailure, saveCache);
             core.info(
                 `Input Variable ${Variables.SaveCacheOnAnyFailure} is set to yes, the cache will be saved despite of any failure in the build.`