diff --git a/dist/setup/index.js b/dist/setup/index.js index faa50c61..d6a5c9c8 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -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; diff --git a/src/find-pypy.ts b/src/find-pypy.ts index 8dea61f2..396f631f 100644 --- a/src/find-pypy.ts +++ b/src/find-pypy.ts @@ -90,7 +90,7 @@ export function findPyPyToolCache( ); } - core.setOutput('python-version', 'pypy' + resolvedPyPyVersion); + core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim()); return {installDir, resolvedPythonVersion, resolvedPyPyVersion}; }