Skip to content

Commit

Permalink
Add venv/bin as absolute path to PATH (#241)
Browse files Browse the repository at this point in the history
Fixes: #239
  • Loading branch information
eifinger authored Jan 16, 2025
1 parent 2487ffc commit 4e3dbec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/setup/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/setup-uv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ async function setupPython(): Promise<void> {
if (process.platform === "win32") {
venvBinPath = ".venv/Scripts";
}
core.addPath(venvBinPath);
core.addPath(path.resolve(venvBinPath));
core.exportVariable("VIRTUAL_ENV", path.resolve(".venv"));
}
}
Expand Down

0 comments on commit 4e3dbec

Please sign in to comment.