From d862dcc6195add995b72d4b336b6678ff329142b Mon Sep 17 00:00:00 2001
From: dmuller-eolian <82002123+dmuller-eolian@users.noreply.github.com>
Date: Wed, 12 May 2021 15:51:28 -0700
Subject: [PATCH] Apply https://github.com/actions/cache/pull/489

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

diff --git a/action.yml b/action.yml
index 323a4bd..2b6c5ec 100644
--- a/action.yml
+++ b/action.yml
@@ -21,7 +21,7 @@ runs:
   using: 'node12'
   main: 'dist/restore/index.js'
   post: 'dist/save/index.js'
-  post-if: 'success()'
+  post-if: success() && env.CACHE_SKIP_SAVE != 'true'
 branding:
   icon: 'archive'
   color: 'gray-dark'