mirror of
https://gitea.com/actions/setup-python.git
synced 2025-09-20 10:38:23 +08:00
set PKG_CONFIG_PATH environment var
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user