Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7933d5a

Browse filesBrowse 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
Copy full SHA for 7933d5a

File tree

Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-0
lines changed

‎dist/setup/index.js

Copy file name to clipboardExpand all lines: dist/setup/index.js
+1Lines 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

Copy file name to clipboardExpand all lines: src/find-pypy.ts
+1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.