mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-04-18 22:47:05 -05:00
Extract correct dir for latest
This commit is contained in:
parent
4bab96ca10
commit
5654f20383
3 changed files with 2 additions and 2 deletions
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue