5
0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-12-19 11:04:08 +00:00

Make sure uv installed by setup-uv is first in PATH (#373)

Fixes: #372
This commit is contained in:
Kevin Stillhammer
2025-04-16 12:31:45 +02:00
committed by GitHub
parent 594f292eef
commit d4b2f3b6ec
3 changed files with 18 additions and 12 deletions

2
dist/setup/index.js generated vendored
View File

@@ -124294,8 +124294,8 @@ async function run() {
throw new Error(`Unsupported architecture: ${process.arch}`);
}
const setupResult = await setupUv(platform, arch, inputs_1.checkSum, inputs_1.githubToken);
addUvToPathAndOutput(setupResult.uvDir);
addToolBinToPath();
addUvToPathAndOutput(setupResult.uvDir);
setToolDir();
await setupPython();
addMatchers();