diff --git a/dist/setup/index.js b/dist/setup/index.js index 4da6c476..f699ef89 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -96945,7 +96945,7 @@ function cacheDependencies(cache, pythonVersion) { resolvedDependencyPath = path.relative(workspace, targetPath); core.info(`Resolved cache-dependency-path: ${resolvedDependencyPath}`); } - const cacheDistributor = (0, cache_factory_1.getCacheDistributor)(cache, pythonVersion, resolvedDependencyPath); + const cacheDistributor = (0, cache_factory_1.getCacheDistributor)(cache, pythonVersion, cacheDependencyPath); yield cacheDistributor.restoreCache(); }); } diff --git a/src/setup-python.ts b/src/setup-python.ts index e5a5c6e7..1dcd9f47 100644 --- a/src/setup-python.ts +++ b/src/setup-python.ts @@ -59,7 +59,7 @@ export async function cacheDependencies(cache: string, pythonVersion: string) { const cacheDistributor = getCacheDistributor( cache, pythonVersion, - resolvedDependencyPath + cacheDependencyPath ); await cacheDistributor.restoreCache(); }