mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
uncommented condition
This commit is contained in:
parent
42c2a27b63
commit
63259a14e3
2 changed files with 5 additions and 5 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -1109,9 +1109,9 @@ function findPyPyVersion(versionSpec, architecture) {
|
||||||
let installDir;
|
let installDir;
|
||||||
const pypyVersionSpec = parsePyPyVersion(versionSpec);
|
const pypyVersionSpec = parsePyPyVersion(versionSpec);
|
||||||
// PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.
|
// PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.
|
||||||
/*if (IS_WINDOWS && architecture === 'x64') {
|
if (utils_1.IS_WINDOWS && architecture === 'x64') {
|
||||||
architecture = 'x86';
|
architecture = 'x86';
|
||||||
}*/
|
}
|
||||||
({ installDir, resolvedPythonVersion, resolvedPyPyVersion } = findPyPyToolCache(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));
|
({ installDir, resolvedPythonVersion, resolvedPyPyVersion } = findPyPyToolCache(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));
|
||||||
if (!installDir) {
|
if (!installDir) {
|
||||||
({
|
({
|
||||||
|
|
|
@ -28,9 +28,9 @@ export async function findPyPyVersion(
|
||||||
const pypyVersionSpec = parsePyPyVersion(versionSpec);
|
const pypyVersionSpec = parsePyPyVersion(versionSpec);
|
||||||
|
|
||||||
// PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.
|
// PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.
|
||||||
/*if (IS_WINDOWS && architecture === 'x64') {
|
if (IS_WINDOWS && architecture === 'x64') {
|
||||||
architecture = 'x86';
|
architecture = 'x86';
|
||||||
}*/
|
}
|
||||||
|
|
||||||
({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(
|
({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(
|
||||||
pypyVersionSpec.pythonVersion,
|
pypyVersionSpec.pythonVersion,
|
||||||
|
|
Loading…
Add table
Reference in a new issue