diff --git a/src/main.ts b/src/main.ts index 3ad11038..c82fbee9 100644 --- a/src/main.ts +++ b/src/main.ts @@ -62,7 +62,7 @@ export async function run() { if (cache && isCacheFeatureAvailable()) { const cacheDependencyPath = core.getInput('cache-dependency-path'); - await restoreCache(cache, cacheDependencyPath, installedVersion); + await restoreCache(installedVersion, cache, cacheDependencyPath); } const matchersPath = path.join(__dirname, '../..', '.github');