mirror of
https://github.com/actions/setup-python.git
synced 2025-04-21 22:38:43 +00:00
removed extra condition about arch
This commit is contained in:
parent
96cc2da1ea
commit
d5b8d9b754
2 changed files with 0 additions and 9 deletions
4
dist/index.js
vendored
4
dist/index.js
vendored
|
@ -1108,10 +1108,6 @@ function findPyPyVersion(versionSpec, architecture) {
|
|||
let resolvedPythonVersion = '';
|
||||
let installDir;
|
||||
const pypyVersionSpec = parsePyPyVersion(versionSpec);
|
||||
// PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.
|
||||
if (utils_1.IS_WINDOWS && architecture === 'x64') {
|
||||
architecture = 'x86';
|
||||
}
|
||||
({ installDir, resolvedPythonVersion, resolvedPyPyVersion } = findPyPyToolCache(pypyVersionSpec.pythonVersion, pypyVersionSpec.pypyVersion, architecture));
|
||||
if (!installDir) {
|
||||
({
|
||||
|
|
|
@ -28,11 +28,6 @@ export async function findPyPyVersion(
|
|||
|
||||
const pypyVersionSpec = parsePyPyVersion(versionSpec);
|
||||
|
||||
// PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.
|
||||
if (IS_WINDOWS && architecture === 'x64') {
|
||||
architecture = 'x86';
|
||||
}
|
||||
|
||||
({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(
|
||||
pypyVersionSpec.pythonVersion,
|
||||
pypyVersionSpec.pypyVersion,
|
||||
|
|
Loading…
Add table
Reference in a new issue