Extract correct dir for latest

This commit is contained in:
Kevin Stillhammer 2024-08-24 09:01:13 +02:00
parent 4bab96ca10
commit 5654f20383
No known key found for this signature in database
3 changed files with 1 additions and 1 deletions

BIN
dist/setup/index.js generated vendored

Binary file not shown.

View File

@ -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)