Description:
Four days ago, Python installed to /opt/hostedtoolcache, but today it installed to .../_work/_tool. This manifested as a failure to find Python.h while building the native dependencies of python-ldap. Somehow, the installation procedure of python-ldap knew to put -I/opt/hostedtoolcache/Python/3.8.10/x64/include/python3.8 on the command line, but there was nothing in the /opt/hostedtoolcache folder. I'm currently working around this by setting the AGENT_TOOLSDIRECTORY environment variable to /opt/hostedtoolcache in my workflow.
Action version:
b55428b
Platform:
Runner type:
Tools version:
3.8.10
Repro steps:
- name: Install Python 3.8.10
uses: actions/setup-python@b55428b1882923874294fa556849718a1d7f2ca5
with:
python-version: '3.8.10'
Expected behavior:
I would expect this to install Python to /opt/hostedtoolcache like it previously did.
Actual behavior:
It now installs Python to .../_work/_tool within the job's workspace.
Description:
Four days ago, Python installed to
/opt/hostedtoolcache, but today it installed to.../_work/_tool. This manifested as a failure to findPython.hwhile building the native dependencies ofpython-ldap. Somehow, the installation procedure ofpython-ldapknew to put-I/opt/hostedtoolcache/Python/3.8.10/x64/include/python3.8on the command line, but there was nothing in the/opt/hostedtoolcachefolder. I'm currently working around this by setting theAGENT_TOOLSDIRECTORYenvironment variable to/opt/hostedtoolcachein my workflow.Action version:
b55428b
Platform:
Runner type:
Tools version:
3.8.10
Repro steps:
Expected behavior:
I would expect this to install Python to
/opt/hostedtoolcachelike it previously did.Actual behavior:
It now installs Python to
.../_work/_toolwithin the job's workspace.