You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing AGENT_TOOLSDIRECTORY env variable for setup-python@v2 #217
Once downloaded, each Python version has a setup.sh file, generated from a template that assumes the AGENT_TOOLSDIRECTORY env variable exists; this is just an alias for RUNNER_TOOL_CACHE.
The python -m pip install --ignore-installed pip upgrade step requires SSL libraries to be installed (openssl)
While I understand that the node:*-slim containers are only meant to be starter images, could act be updated to provide the AGENT_TOOLSDIRECTORY variable?
Test workflow:
name: Run testsuiteon:
pushjobs:
test:
name: Run Pythonruns-on: ubuntu-latestenv:
AGENT_TOOLSDIRECTORY: ${{ runner.tool_cache }}steps:
- name: Set up Python 3.7uses: actions/setup-python@v2with:
python-version: 3.7
- name: Test Pythonrun: | python -V
Activity
mjpieters commentedon May 1, 2020
This appears to be a
python-versionsbug instead. It was already fixed in the Windows install script, so I proposed a fix for the Linux version.feat: set RUNNER_ENVIRONMENT and runner.environment like GitHub
feat: set RUNNER_ENVIRONMENT and runner.environment like GitHub (#1)