mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-06-17 04:41:12 +00:00
parent
bb8d247e1a
commit
e2e9087257
6 changed files with 200 additions and 20 deletions
src/cache
3
src/cache/restore-cache.ts
vendored
3
src/cache/restore-cache.ts
vendored
|
@ -53,7 +53,8 @@ async function computeKeys(): Promise<string> {
|
|||
}
|
||||
const suffix = cacheSuffix ? `-${cacheSuffix}` : "";
|
||||
const pythonVersion = await getPythonVersion();
|
||||
return `setup-uv-${CACHE_VERSION}-${getArch()}-${getPlatform()}-${pythonVersion}${cacheDependencyPathHash}${suffix}`;
|
||||
const platform = await getPlatform();
|
||||
return `setup-uv-${CACHE_VERSION}-${getArch()}-${platform}-${pythonVersion}${cacheDependencyPathHash}${suffix}`;
|
||||
}
|
||||
|
||||
async function getPythonVersion(): Promise<string> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue