From da621f8780ba8d9476eb6722e6d032766d9c0c36 Mon Sep 17 00:00:00 2001
From: Matthijs van der Burgh <MatthijsBurgh@outlook.com>
Date: Fri, 18 Nov 2022 10:51:55 +0100
Subject: [PATCH] Update build

---
 dist/setup/index.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dist/setup/index.js b/dist/setup/index.js
index aa4f708a..79a2a5a2 100644
--- a/dist/setup/index.js
+++ b/dist/setup/index.js
@@ -73021,9 +73021,11 @@ exports.restoreCache = (packageManager, cacheDependencyPath) => __awaiter(void 0
         throw new Error('Some specified paths were not resolved, unable to cache dependencies.');
     }
     const primaryKey = `node-cache-${platform}-${packageManager}-${fileHash}`;
+    const restoreKeys = [`node-cache-${platform}-${packageManager}-`];
     core.debug(`primary key is ${primaryKey}`);
+    core.debug(`restore keys are [${restoreKeys}]`);
     core.saveState(constants_1.State.CachePrimaryKey, primaryKey);
-    const cacheKey = yield cache.restoreCache([cachePath], primaryKey);
+    const cacheKey = yield cache.restoreCache([cachePath], primaryKey, restoreKeys);
     core.setOutput('cache-hit', Boolean(cacheKey));
     if (!cacheKey) {
         core.info(`${packageManager} cache is not found`);