diff --git a/dist/setup/index.js b/dist/setup/index.js index ad08a6c..ebd1bfc 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -124394,9 +124394,12 @@ async function setupPython() { if (inputs_1.pythonVersion !== "") { core.exportVariable("UV_PYTHON", inputs_1.pythonVersion); core.info(`Set UV_PYTHON to ${inputs_1.pythonVersion}`); + const options = { + silent: !core.isDebug(), + }; const execArgs = ["venv", "--python", inputs_1.pythonVersion]; core.info("Activating python venv..."); - await exec.exec("uv", execArgs); + await exec.exec("uv", execArgs, options); let venvBinPath = ".venv/bin"; if (process.platform === "win32") { venvBinPath = ".venv/Scripts"; diff --git a/src/setup-uv.ts b/src/setup-uv.ts index af8cceb..beed547 100644 --- a/src/setup-uv.ts +++ b/src/setup-uv.ts @@ -167,10 +167,13 @@ async function setupPython(): Promise { if (pythonVersion !== "") { core.exportVariable("UV_PYTHON", pythonVersion); core.info(`Set UV_PYTHON to ${pythonVersion}`); + const options: exec.ExecOptions = { + silent: !core.isDebug(), + }; const execArgs = ["venv", "--python", pythonVersion]; core.info("Activating python venv..."); - await exec.exec("uv", execArgs); + await exec.exec("uv", execArgs, options); let venvBinPath = ".venv/bin"; if (process.platform === "win32") {