E5FF Add pyton-version to setup PyPy output (#365) · At252/setup-python@7933d5a · GitHub
[go: up one dir, main page]

Skip to content

Commit 7933d5a

Browse files
authored
Add pyton-version to setup PyPy output (actions#365)
* Add pyton-version to setup PyPy output * remove new line from pypy version * Move setOutput to findPyPyVersion * Resolve conflict: 2
1 parent 7885ec3 commit 7933d5a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

dist/setup/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52347,6 +52347,7 @@ function findPyPyVersion(versionSpec, architecture) {
5234752347
core.exportVariable('pythonLocation', pythonLocation);
5234852348
core.addPath(pythonLocation);
5234952349
core.addPath(_binDir);
52350+
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
5235052351
return { resolvedPyPyVersion, resolvedPythonVersion };
5235152352
});
5235252353
}

src/find-pypy.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export async function findPyPyVersion(
5252
core.exportVariable('pythonLocation', pythonLocation);
5353
core.addPath(pythonLocation);
5454
core.addPath(_binDir);
55+
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
5556

5657
return {resolvedPyPyVersion, resolvedPythonVersion};
5758
}

0 commit comments

Comments
 (0)
0