The python-config script is not properly replaced, after using the setup-python action:
$ which python
/opt/hostedtoolcache/Python/3.8.2/x64/bin/python
$ which python3
/opt/hostedtoolcache/Python/3.8.2/x64/bin/python3
$ which python-config
/usr/bin/python-config
$ which python3-config
/opt/hostedtoolcache/Python/3.8.2/x64/bin/python3-config
which will probably cause hard to debug issues, so my suggestion is, to either not replace "python" itself (probably a bad idea) or to properly replace (symlink) python-config to python3-config.
I have not tested what happens when using Python 2.
The
python-configscript is not properly replaced, after using thesetup-pythonaction:which will probably cause hard to debug issues, so my suggestion is, to either not replace "python" itself (probably a bad idea) or to properly replace (symlink)
python-configtopython3-config.I have not tested what happens when using Python 2.