Skip to content

Commit fb3a0a9

Browse files
authored
log info on venv activation (#375)
Make sure we get more info by default instead of just exiting with 1 Contributes to: #374
1 parent d4b2f3b commit fb3a0a9

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

dist/setup/index.js

+1-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/setup-uv.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,10 @@ async function setupPython(): Promise<void> {
167167
if (pythonVersion !== "") {
168168
core.exportVariable("UV_PYTHON", pythonVersion);
169169
core.info(`Set UV_PYTHON to ${pythonVersion}`);
170-
const options: exec.ExecOptions = {
171-
silent: !core.isDebug(),
172-
};
173170
const execArgs = ["venv", "--python", pythonVersion];
174171

175172
core.info("Activating python venv...");
176-
await exec.exec("uv", execArgs, options);
173+
await exec.exec("uv", execArgs);
177174

178175
let venvBinPath = ".venv/bin";
179176
if (process.platform === "win32") {

0 commit comments

Comments
 (0)