mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-10-25 00:37:44 +00:00
fix: make sure VIRTUAL_ENV is an absolute path (#224)
Closes https://github.com/astral-sh/setup-uv/issues/219
This commit is contained in:
1 parent
7b290f7b85
commit
7768fe6bf0
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -99397,7 +99397,7 @@ function setupPython() {
|
|||||||
venvBinPath = ".venv/Scripts";
|
venvBinPath = ".venv/Scripts";
|
||||||
}
|
}
|
||||||
core.addPath(venvBinPath);
|
core.addPath(venvBinPath);
|
||||||
core.exportVariable("VIRTUAL_ENV", ".venv");
|
core.exportVariable("VIRTUAL_ENV", path.resolve(".venv"));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -143,7 +143,7 @@ async function setupPython(): Promise<void> {
|
|||||||
venvBinPath = ".venv/Scripts";
|
venvBinPath = ".venv/Scripts";
|
||||||
}
|
}
|
||||||
core.addPath(venvBinPath);
|
core.addPath(venvBinPath);
|
||||||
core.exportVariable("VIRTUAL_ENV", ".venv");
|
core.exportVariable("VIRTUAL_ENV", path.resolve(".venv"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user