Support OS using musl ()

Fixes: 
This commit is contained in:
Kevin Stillhammer 2025-02-17 10:32:34 +01:00 committed by GitHub
parent bb8d247e1a
commit e2e9087257
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 200 additions and 20 deletions

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> {