Skip to content

Commit

Permalink
build release
Browse files Browse the repository at this point in the history
  • Loading branch information
arBmind committed Dec 5, 2021
1 parent 5445e3e commit f958060
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dist/setup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2071,6 +2071,8 @@ function findPyPyVersion(versionSpec, architecture) {
core.exportVariable('pythonLocation', pythonLocation);
core.addPath(pythonLocation);
core.addPath(_binDir);
core.setOutput('python-version', resolvedPythonVersion);
core.setOutput('python-install-dir', installDir);
return { resolvedPyPyVersion, resolvedPythonVersion };
});
}
Expand Down Expand Up @@ -57008,6 +57010,7 @@ function usePyPy(majorVersion, architecture) {
}
const impl = 'pypy' + majorVersion.toString();
core.setOutput('python-version', impl);
core.setOutput('python-install-dir', installDir);
return { impl: impl, version: versionFromPath(installDir) };
}
function useCpythonVersion(version, architecture) {
Expand Down Expand Up @@ -57056,6 +57059,7 @@ function useCpythonVersion(version, architecture) {
// On Linux and macOS, pip will create the --user directory and add it to PATH as needed.
const installed = versionFromPath(installDir);
core.setOutput('python-version', installed);
core.setOutput('python-install-dir', installDir);
return { impl: 'CPython', version: installed };
});
}
Expand Down

0 comments on commit f958060

Please sign in to comment.