mirror of
https://github.com/actions/setup-python.git
synced 2025-06-27 21:23:48 +00:00
check failure fix
This commit is contained in:
parent
b8efbc5bb0
commit
cfd17d94f5
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -96945,7 +96945,7 @@ function cacheDependencies(cache, pythonVersion) {
|
||||||
resolvedDependencyPath = path.relative(workspace, targetPath);
|
resolvedDependencyPath = path.relative(workspace, targetPath);
|
||||||
core.info(`Resolved cache-dependency-path: ${resolvedDependencyPath}`);
|
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();
|
yield cacheDistributor.restoreCache();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,7 +59,7 @@ export async function cacheDependencies(cache: string, pythonVersion: string) {
|
||||||
const cacheDistributor = getCacheDistributor(
|
const cacheDistributor = getCacheDistributor(
|
||||||
cache,
|
cache,
|
||||||
pythonVersion,
|
pythonVersion,
|
||||||
resolvedDependencyPath
|
cacheDependencyPath
|
||||||
);
|
);
|
||||||
await cacheDistributor.restoreCache();
|
await cacheDistributor.restoreCache();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue