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 f958060

Browse filesBrowse files
committed
build release
1 parent 5445e3e commit f958060
Copy full SHA for f958060

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+4
-0
lines changed

‎dist/setup/index.js

Copy file name to clipboardExpand all lines: dist/setup/index.js
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,6 +2071,8 @@ function findPyPyVersion(versionSpec, architecture) {
20712071
core.exportVariable('pythonLocation', pythonLocation);
20722072
core.addPath(pythonLocation);
20732073
core.addPath(_binDir);
2074+
core.setOutput('python-version', resolvedPythonVersion);
2075+
core.setOutput('python-install-dir', installDir);
20742076
return { resolvedPyPyVersion, resolvedPythonVersion };
20752077
});
20762078
}
@@ -57008,6 +57010,7 @@ function usePyPy(majorVersion, architecture) {
5700857010
}
5700957011
const impl = 'pypy' + majorVersion.toString();
5701057012
core.setOutput('python-version', impl);
57013+
core.setOutput('python-install-dir', installDir);
5701157014
return { impl: impl, version: versionFromPath(installDir) };
5701257015
}
5701357016
function useCpythonVersion(version, architecture) {
@@ -57056,6 +57059,7 @@ function useCpythonVersion(version, architecture) {
5705657059
// On Linux and macOS, pip will create the --user directory and add it to PATH as needed.
5705757060
const installed = versionFromPath(installDir);
5705857061
core.setOutput('python-version', installed);
57062+
core.setOutput('python-install-dir', installDir);
5705957063
return { impl: 'CPython', version: installed };
5706057064
});
5706157065
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.