mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-12-17 11:05:59 +00:00
committed by
GitHub
parent
2487ffc9aa
commit
4e3dbecc19
2
dist/setup/index.js
generated
vendored
2
dist/setup/index.js
generated
vendored
@@ -101686,7 +101686,7 @@ function setupPython() {
|
|||||||
if (process.platform === "win32") {
|
if (process.platform === "win32") {
|
||||||
venvBinPath = ".venv/Scripts";
|
venvBinPath = ".venv/Scripts";
|
||||||
}
|
}
|
||||||
core.addPath(venvBinPath);
|
core.addPath(path.resolve(venvBinPath));
|
||||||
core.exportVariable("VIRTUAL_ENV", path.resolve(".venv"));
|
core.exportVariable("VIRTUAL_ENV", path.resolve(".venv"));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ async function setupPython(): Promise<void> {
|
|||||||
if (process.platform === "win32") {
|
if (process.platform === "win32") {
|
||||||
venvBinPath = ".venv/Scripts";
|
venvBinPath = ".venv/Scripts";
|
||||||
}
|
}
|
||||||
core.addPath(venvBinPath);
|
core.addPath(path.resolve(venvBinPath));
|
||||||
core.exportVariable("VIRTUAL_ENV", path.resolve(".venv"));
|
core.exportVariable("VIRTUAL_ENV", path.resolve(".venv"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user