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
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
The text was updated successfully, but these errors were encountered:
The setup-python@v2 action makes the following assumptions:
/etc/lsb-release
file is read and theDISTRIB_RELEASE=...
value must match theplatform_version
keys in the Python versions manifest. In practice this means the container must be based on Ubuntu.setup.sh
file, generated from a template that assumes theAGENT_TOOLSDIRECTORY
env variable exists; this is just an alias forRUNNER_TOOL_CACHE
.python -m pip install --ignore-installed pip
upgrade step requires SSL libraries to be installed (openssl)So I can make the action work by:
Using my own Ubuntu-based docker image (
mjpieters/act-container:18.04
, which is justnode:buster-slim
but usingubuntu:18.04
rather than Debian Buster, with openssl added; 180MB small, see https://hub.docker.com/repository/docker/mjpieters/act-container)adding the following build step:
While I understand that the
node:*-slim
containers are only meant to be starter images, could act be updated to provide theAGENT_TOOLSDIRECTORY
variable?Test workflow:
The text was updated successfully, but these errors were encountered: