1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-python synced 2025-06-08 04:18:19 +02:00
This commit is contained in:
Marc Mueller 2025-05-22 13:00:43 +05:30 committed by GitHub
commit f107b64aa0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -95953,7 +95953,7 @@ function findPyPyVersion(versionSpec, architecture, updateEnvironment, checkLate
core.addPath(pythonLocation); core.addPath(pythonLocation);
core.addPath(_binDir); core.addPath(_binDir);
} }
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion); core.setOutput('python-version', `pypy${resolvedPythonVersion}-${resolvedPyPyVersion}`);
core.setOutput('python-path', pythonPath); core.setOutput('python-path', pythonPath);
return { resolvedPyPyVersion, resolvedPythonVersion }; return { resolvedPyPyVersion, resolvedPythonVersion };
}); });

View file

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