mirror of
https://github.com/actions/setup-python.git
synced 2025-08-26 18:54:19 +00:00
remove new line from pypy version
This commit is contained in:
parent
c8e3705639
commit
f62decb260
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@ -2105,7 +2105,7 @@ function findPyPyToolCache(pythonVersion, pypyVersion, architecture) {
|
||||
if (!installDir) {
|
||||
core.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);
|
||||
}
|
||||
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);
|
||||
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
|
||||
return { installDir, resolvedPythonVersion, resolvedPyPyVersion };
|
||||
}
|
||||
exports.findPyPyToolCache = findPyPyToolCache;
|
||||
|
@ -90,7 +90,7 @@ export function findPyPyToolCache(
|
||||
);
|
||||
}
|
||||
|
||||
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);
|
||||
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
|
||||
return {installDir, resolvedPythonVersion, resolvedPyPyVersion};
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user