1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-12-22 12:19:55 +00:00

fix is_windows (#172)

This commit is contained in:
Dmitry Shibanov 2020-12-18 17:05:24 +03:00 committed by GitHub
parent 8c5ea631b2
commit 3105fb18c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
dist/index.js vendored
View file

@ -7085,7 +7085,7 @@ function usePyPy(majorVersion, architecture) {
core.addPath(installDir);
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) {
if (utils_1.IS_WINDOWS) {
core.addPath(path.join(installDir, 'Scripts'));
}
const impl = 'pypy' + majorVersion.toString();