Compare commits

..

No commits in common. "main" and "v5.4" have entirely different histories.
main ... v5.4

2 changed files with 8 additions and 2 deletions

5
dist/setup/index.js generated vendored
View file

@ -124394,9 +124394,12 @@ async function setupPython() {
if (inputs_1.pythonVersion !== "") { if (inputs_1.pythonVersion !== "") {
core.exportVariable("UV_PYTHON", inputs_1.pythonVersion); core.exportVariable("UV_PYTHON", inputs_1.pythonVersion);
core.info(`Set UV_PYTHON to ${inputs_1.pythonVersion}`); core.info(`Set UV_PYTHON to ${inputs_1.pythonVersion}`);
const options = {
silent: !core.isDebug(),
};
const execArgs = ["venv", "--python", inputs_1.pythonVersion]; const execArgs = ["venv", "--python", inputs_1.pythonVersion];
core.info("Activating python venv..."); core.info("Activating python venv...");
await exec.exec("uv", execArgs); await exec.exec("uv", execArgs, options);
let venvBinPath = ".venv/bin"; let venvBinPath = ".venv/bin";
if (process.platform === "win32") { if (process.platform === "win32") {
venvBinPath = ".venv/Scripts"; venvBinPath = ".venv/Scripts";

View file

@ -167,10 +167,13 @@ async function setupPython(): Promise<void> {
if (pythonVersion !== "") { if (pythonVersion !== "") {
core.exportVariable("UV_PYTHON", pythonVersion); core.exportVariable("UV_PYTHON", pythonVersion);
core.info(`Set UV_PYTHON to ${pythonVersion}`); core.info(`Set UV_PYTHON to ${pythonVersion}`);
const options: exec.ExecOptions = {
silent: !core.isDebug(),
};
const execArgs = ["venv", "--python", pythonVersion]; const execArgs = ["venv", "--python", pythonVersion];
core.info("Activating python venv..."); core.info("Activating python venv...");
await exec.exec("uv", execArgs); await exec.exec("uv", execArgs, options);
let venvBinPath = ".venv/bin"; let venvBinPath = ".venv/bin";
if (process.platform === "win32") { if (process.platform === "win32") {