From 887a942a15af3a7626099df99e897a18d9e5ab3a Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Mon, 23 Dec 2024 17:45:21 +0100 Subject: [PATCH] Set VIRTUAL_ENV to .venv instead of .venv/bin (#210) Closes: #209 --- dist/setup/index.js | 2 +- src/setup-uv.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 3b6ec51..63c0069 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -99349,7 +99349,7 @@ function setupPython() { venvBinPath = ".venv/Scripts"; } core.addPath(venvBinPath); - core.exportVariable("VIRTUAL_ENV", venvBinPath); + core.exportVariable("VIRTUAL_ENV", ".venv"); } }); } diff --git a/src/setup-uv.ts b/src/setup-uv.ts index 33667e0..13a90b5 100644 --- a/src/setup-uv.ts +++ b/src/setup-uv.ts @@ -143,7 +143,7 @@ async function setupPython(): Promise { venvBinPath = ".venv/Scripts"; } core.addPath(venvBinPath); - core.exportVariable("VIRTUAL_ENV", venvBinPath); + core.exportVariable("VIRTUAL_ENV", ".venv"); } }