Support OS using musl (#284)

Fixes: #278
This commit is contained in:
Kevin Stillhammer authored and GitHub committed 2025-02-17 10:32:34 +01:00
1 parent bb8d247e1a
commit e2e9087257
6 files changed
+200 -20

No files matched your search

+2 -1
View File
@@ -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> {