mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-07-17 03:21:05 +00:00
Extract correct dir for latest
This commit is contained in:
2
dist/setup/index.js
generated
vendored
2
dist/setup/index.js
generated
vendored
@ -85420,7 +85420,7 @@ function downloadLatest(platform, arch, checkSum, githubToken) {
|
||||
else {
|
||||
const extractedDir = yield tc.extractTar(downloadPath);
|
||||
uvDir = path.join(extractedDir, artifact);
|
||||
uvExecutablePath = path.join(extractedDir, 'uv');
|
||||
uvExecutablePath = path.join(uvDir, 'uv');
|
||||
}
|
||||
const version = yield getVersion(uvExecutablePath);
|
||||
yield (0, checksum_1.validateChecksum)(checkSum, downloadPath, arch, platform, version);
|
||||
|
Reference in New Issue
Block a user