mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-11-05 17:36:49 +00:00
committed by
GitHub
parent
bd1f875aba
commit
d18bcc753a
@@ -12,8 +12,8 @@ import {
|
||||
cacheLocalPath,
|
||||
cachePython,
|
||||
enableCache,
|
||||
getUvPythonDir,
|
||||
ignoreNothingToCache,
|
||||
pythonDir,
|
||||
pruneCache as shouldPruneCache,
|
||||
saveCache as shouldSaveCache,
|
||||
} from "./utils/inputs";
|
||||
@@ -73,7 +73,6 @@ async function saveCache(): Promise<void> {
|
||||
|
||||
const cachePaths = [actualCachePath];
|
||||
if (cachePython) {
|
||||
const pythonDir = await getUvPythonDir();
|
||||
core.info(`Including Python cache path: ${pythonDir}`);
|
||||
if (!fs.existsSync(pythonDir) && !ignoreNothingToCache) {
|
||||
throw new Error(
|
||||
|
||||
Reference in New Issue
Block a user