mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-01-19 00:08:17 +08:00
Extract correct dir for latest
This commit is contained in:
parent
4bab96ca10
commit
5654f20383
BIN
dist/setup/index.js
generated
vendored
BIN
dist/setup/index.js
generated
vendored
Binary file not shown.
@ -35,7 +35,7 @@ export async function downloadLatest(
|
||||
} else {
|
||||
const extractedDir = await tc.extractTar(downloadPath)
|
||||
uvDir = path.join(extractedDir, artifact)
|
||||
uvExecutablePath = path.join(extractedDir, 'uv')
|
||||
uvExecutablePath = path.join(uvDir, 'uv')
|
||||
}
|
||||
const version = await getVersion(uvExecutablePath)
|
||||
await validateChecksum(checkSum, downloadPath, arch, platform, version)
|
||||
|
Loading…
Reference in New Issue
Block a user