mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
remove new line from pypy version
This commit is contained in:
parent
c8e3705639
commit
f62decb260
2 changed files with 2 additions and 2 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
@ -2105,7 +2105,7 @@ function findPyPyToolCache(pythonVersion, pypyVersion, architecture) {
|
||||||
if (!installDir) {
|
if (!installDir) {
|
||||||
core.info(`PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`);
|
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 };
|
return { installDir, resolvedPythonVersion, resolvedPyPyVersion };
|
||||||
}
|
}
|
||||||
exports.findPyPyToolCache = findPyPyToolCache;
|
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};
|
return {installDir, resolvedPythonVersion, resolvedPyPyVersion};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue