mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-09 04:42:20 +02:00
set PKG_CONFIG_PATH environment var
This commit is contained in:
parent
1ce308808a
commit
5e1e05c694
3 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,7 @@ export async function findPyPyVersion(
|
|||
const _binDir = path.join(installDir, pipDir);
|
||||
const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);
|
||||
core.exportVariable('pythonLocation', pythonLocation);
|
||||
core.exportVariable('PKG_CONFIG_PATH', pythonLocation + '/lib/pkgconfig');
|
||||
core.addPath(pythonLocation);
|
||||
core.addPath(_binDir);
|
||||
core.setOutput('python-version', 'pypy' + resolvedPyPyVersion.trim());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue