mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 07:22:14 +00:00
added 'Scripts' folder to PATH on Windows
This commit is contained in:
parent
6aa0ca37ca
commit
6e67af9be5
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@ function usePyPy(
|
||||||
|
|
||||||
core.addPath(installDir);
|
core.addPath(installDir);
|
||||||
core.addPath(_binDir);
|
core.addPath(_binDir);
|
||||||
|
// Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be "Scripts" on Windows.
|
||||||
|
if (IS_WINDOWS) {
|
||||||
|
core.addPath(path.join(installDir, 'Scripts'));
|
||||||
|
}
|
||||||
|
|
||||||
const impl = 'pypy' + majorVersion.toString();
|
const impl = 'pypy' + majorVersion.toString();
|
||||||
core.setOutput('python-version', impl);
|
core.setOutput('python-version', impl);
|
||||||
|
|
Loading…
Add table
Reference in a new issue