From 4e3dbecc19008549e0deaff33911d7a8662627b2 Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Thu, 16 Jan 2025 10:14:32 +0100 Subject: [PATCH] Add venv/bin as absolute path to PATH (#241) Fixes: #239 --- dist/setup/index.js | Bin 4254747 -> 4254761 bytes src/setup-uv.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 95556a459d489f9d42ce36cf6fc11ed82a5542c2..f22218cf72a546a4de075c9fe46ae2973ef35bbd 100644 GIT binary patch delta 194 zcmWN_yH3Jj0D#d@q@Yj%wNg=#s}#|4k&ERfadh$(9GYNaiV@PJ8wp>+BXn?cV`3pO zBz+Jc$A37>`Tko;8(~QRi694rkO>pvkRzhRP&g(|f+Q!La)!z|DKsufbIBDMvRsoR zPk|yO%G^*vr^+og?zqRGPJ<>b9%$2{OOMB$`QmGzZ;Pq%WzAFqrb8Ev x9(@K388K$Ul-XO~o6hs$blx3Lx4xRV%U@kF3{w~9;zC@CD{(DuK8Cq{YJYQJKtTWi diff --git a/src/setup-uv.ts b/src/setup-uv.ts index 9195c66..a7ff66e 100644 --- a/src/setup-uv.ts +++ b/src/setup-uv.ts @@ -161,7 +161,7 @@ async function setupPython(): Promise { if (process.platform === "win32") { venvBinPath = ".venv/Scripts"; } - core.addPath(venvBinPath); + core.addPath(path.resolve(venvBinPath)); core.exportVariable("VIRTUAL_ENV", path.resolve(".venv")); } }