Inject LD_LIBRARY_PATH library path into Python manifest install and setup by magnetikonline · Pull Request #144 · actions/setup-python
Overall the current approach seems good 👍
I do have once concern though around where where the env variable is set:
core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);
We're currently omitting a : between the values (this works if libpath is empty which I think is the case with our hosted environments). When this value is not empty, things could break.
I think core.exportVariable('LD_LIBRARY_PATH', pyLibPath + ':' + libPath); or even core.exportVariable(pylibpath.concat(':', libPath); is needed.
The order of pyLibPath and libPath doesn't really make a difference since they're unique. No preference with regards to that.