mirror of
https://github.com/actions/setup-python.git
synced 2024-11-10 05:41:06 +07:00
Add pyton-version to setup PyPy output (#365)
* Add pyton-version to setup PyPy output * remove new line from pypy version * Move setOutput to findPyPyVersion * Resolve conflict: 2
This commit is contained in:
parent
7885ec3539
commit
7933d5a3dd
1
dist/setup/index.js
vendored
1
dist/setup/index.js
vendored
@ -52347,6 +52347,7 @@ function findPyPyVersion(versionSpec, architecture) {
|
||||
core.exportVariable('pythonLocation', pythonLocation);
|
||||
core.addPath(pythonLocation);
|
||||
core.addPath(_binDir);
|
||||
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
|
||||
return { resolvedPyPyVersion, resolvedPythonVersion };
|
||||
});
|
||||
}
|
||||
|
@ -52,6 +52,7 @@ export async function findPyPyVersion(
|
||||
core.exportVariable('pythonLocation', pythonLocation);
|
||||
core.addPath(pythonLocation);
|
||||
core.addPath(_binDir);
|
||||
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
|
||||
|
||||
return {resolvedPyPyVersion, resolvedPythonVersion};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user