mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-04-07 07:58:48 -04:00
Set VIRTUAL_ENV to .venv instead of .venv/bin
This commit is contained in:
parent
d174a24c07
commit
45ef8cec4b
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
generated
vendored
2
dist/setup/index.js
generated
vendored
|
@ -99349,7 +99349,7 @@ function setupPython() {
|
||||||
venvBinPath = ".venv/Scripts";
|
venvBinPath = ".venv/Scripts";
|
||||||
}
|
}
|
||||||
core.addPath(venvBinPath);
|
core.addPath(venvBinPath);
|
||||||
core.exportVariable("VIRTUAL_ENV", venvBinPath);
|
core.exportVariable("VIRTUAL_ENV", ".venv");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -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", venvBinPath);
|
core.exportVariable("VIRTUAL_ENV", ".venv");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue