SDL: Don't pass 3rd argument to cache.restoreCache

From c50c4425c7d9b6204f305511a885925c23d2f1f5 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Sun, 18 Jun 2023 03:00:27 +0200
Subject: [PATCH] Don't pass 3rd argument to cache.restoreCache

---
 packed/index.js | 2 +-
 src/main.ts     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/packed/index.js b/packed/index.js
index 310ac7f9f0be..7bdc3f25d2b5 100644
--- a/packed/index.js
+++ b/packed/index.js
@@ -229,7 +229,7 @@ async function run() {
     core.info(`SDL version is ${SDL_VERSION.toString()}`);
     const CACHE_KEY = `setup-sdl-${STATE_HASH}`;
     const CACHE_PATHS = [PACKAGE_DIR];
-    const found_cache_key = await cache.restoreCache(CACHE_PATHS, CACHE_KEY, []);
+    const found_cache_key = await cache.restoreCache(CACHE_PATHS, CACHE_KEY);
     if (!found_cache_key) {
         core.info("No match found in cache. Building SDL from scratch.");
         if (USE_NINJA) {
diff --git a/src/main.ts b/src/main.ts
index ff3c280474ea..ab496e20503f 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -219,7 +219,7 @@ async function run() {
 
   const CACHE_KEY = `setup-sdl-${STATE_HASH}`;
   const CACHE_PATHS = [PACKAGE_DIR];
-  const found_cache_key = await cache.restoreCache(CACHE_PATHS, CACHE_KEY, []);
+  const found_cache_key = await cache.restoreCache(CACHE_PATHS, CACHE_KEY);
 
   if (!found_cache_key) {
     core.info("No match found in cache. Building SDL from scratch.");