Include python version in PyPy python-version output

This commit is contained in:
Marc Mueller 2025-05-17 19:57:21 +02:00
parent a26af69be9
commit 777921ea78
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View file

@ -96,7 +96,10 @@ export async function findPyPyVersion(
core.addPath(pythonLocation);
core.addPath(_binDir);
}
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);
core.setOutput(
'python-version',
`pypy${resolvedPythonVersion}-${resolvedPyPyVersion}`
);
core.setOutput('python-path', pythonPath);
return {resolvedPyPyVersion, resolvedPythonVersion};