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<void> {
       venvBinPath = ".venv/Scripts";
     }
     core.addPath(venvBinPath);
-    core.exportVariable("VIRTUAL_ENV", venvBinPath);
+    core.exportVariable("VIRTUAL_ENV", ".venv");
   }
 }