mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-14 15:04:10 +02:00
Made env.var pythonLocation consistent for Python and PyPy (#418)
* Change find-pypy.ts to redefine pythonLocaction environment variable * Change README.md in order to add sentence about pythonLocation envvar * Change sentence about pythonLocation envvar in README.md * Rephrase the definition of pythonLocation env.var
This commit is contained in:
parent
53e15292cd
commit
f72db171ab
3 changed files with 4 additions and 2 deletions
|
@ -54,7 +54,7 @@ export async function findPyPyVersion(
|
|||
`python${binaryExtension}`
|
||||
);
|
||||
const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);
|
||||
core.exportVariable('pythonLocation', pythonLocation);
|
||||
core.exportVariable('pythonLocation', installDir);
|
||||
core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');
|
||||
core.addPath(pythonLocation);
|
||||
core.addPath(_binDir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue