remove new line from pypy version

This commit is contained in:
Sergey Dolin 2022-03-31 10:18:53 +05:00
parent c8e3705639
commit f62decb260
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -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;

View file

@ -90,7 +90,7 @@ export function findPyPyToolCache(
);
}
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion);
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
return {installDir, resolvedPythonVersion, resolvedPyPyVersion};
}