fix: Add pypy-
prefix to version used for cache key when appropriate (#39)
Add `pypy-` prefix to version used for cache key when appropriate. Signed-off-by: Frost Ming <me@frostming.com>
This commit is contained in:
parent
c21af6fa77
commit
c287ac6f97
2
dist/setup-pdm.js
vendored
2
dist/setup-pdm.js
vendored
@ -77528,7 +77528,7 @@ async function findPythonVersion(version, architecture, allowPreReleases, update
|
||||
core6.info(
|
||||
`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`
|
||||
);
|
||||
return installed.resolvedPythonVersion;
|
||||
return `pypy-${installed.resolvedPythonVersion}`;
|
||||
} else {
|
||||
const installed = await useCpythonVersion(
|
||||
version,
|
||||
|
@ -34,7 +34,7 @@ export async function findPythonVersion(version: string, architecture: string, a
|
||||
core.info(
|
||||
`Successfully set up PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`
|
||||
);
|
||||
return installed.resolvedPythonVersion;
|
||||
return `pypy-${installed.resolvedPythonVersion}`;
|
||||
} else {
|
||||
const installed = await useCpythonVersion(
|
||||
version,
|
||||
|
Loading…
x
Reference in New Issue
Block a user