Skip to content

Commit f958060

Browse files
committed
build release
1 parent 5445e3e commit f958060

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎dist/setup/index.js‎

Lines 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)