Add value of UV_PYTHON_INSTALL_DIR to path (#628)

Closes: #610
This commit is contained in:
Kevin Stillhammer authored and GitHub committed 2025-10-11 18:42:06 +02:00
1 parent bd1f875aba
commit d18bcc753a
7 files changed
+112 -49

No files matched your search

+2 -2
View File
@@ -7,8 +7,8 @@ import {
cacheLocalPath,
cachePython,
cacheSuffix,
getUvPythonDir,
pruneCache,
pythonDir,
pythonVersion as pythonVersionInput,
restoreCache as shouldRestoreCache,
workingDirectory,
@@ -34,7 +34,7 @@ export async function restoreCache(): Promise<void> {
);
const cachePaths = [cacheLocalPath];
if (cachePython) {
cachePaths.push(await getUvPythonDir());
cachePaths.push(pythonDir);
}
try {
matchedKey = await cache.restoreCache(cachePaths, cacheKey);