From 81c1d67b3ce4e02edb1e6ac398a2eeb1850a7da3 Mon Sep 17 00:00:00 2001
From: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
Date: Mon, 21 Nov 2022 08:38:36 +0000
Subject: [PATCH] Updated action with correct input variable.

---
 action.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/action.yml b/action.yml
index 2e8d500..d82670b 100644
--- a/action.yml
+++ b/action.yml
@@ -28,7 +28,7 @@ runs:
   using: 'node16'
   main: 'dist/restore/index.js'
   post: 'dist/save/index.js'
-  post-if: success() || inputs.save-on-failure == 'true'
+  post-if: success() || inputs.save-cache-on-any-failure == 'yes'
 branding:
   icon: 'archive'
   color: 'gray-dark'