mirror of
https://github.com/actions/setup-python.git
synced 2025-07-02 23:53:47 +00:00
remove pypy input
This commit is contained in:
parent
7f80679172
commit
fe5cc5b5b4
3 changed files with 2 additions and 26 deletions
|
@ -191,13 +191,5 @@ export async function findPythonVersion(
|
|||
version: string,
|
||||
architecture: string
|
||||
): Promise<InstalledVersion> {
|
||||
switch (version.toUpperCase()) {
|
||||
case 'PYPY2':
|
||||
return usePyPy('2', architecture);
|
||||
case 'PYPY3':
|
||||
// keep pypy3 pointing to 3.6 for backward compatibility
|
||||
return usePyPy('3.6', architecture);
|
||||
default:
|
||||
return await useCpythonVersion(version, architecture);
|
||||
}
|
||||
return await useCpythonVersion(version, architecture);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue