File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 runs-on : self-hosted
1010
1111 container :
12- image : ubuntu:24 .04
12+ image : ubuntu:20 .04
1313
1414 steps :
1515 - uses : actions/checkout@v6
@@ -25,19 +25,19 @@ jobs:
2525 uses : actions/setup-python@v5
2626 with :
2727 python-version : " 3.8"
28-
29- - name : Verify Python
28+ - name : Upgrade pip
3029 run : |
31- python --version
32- python -c "import ssl; print(ssl.OPENSSL_VERSION)"
30+ python -m pip install --upgrade pip
31+
32+
3333
3434 ubuntu-24-second :
3535 name : Step 2 - Ubuntu 24.04 container
3636 runs-on : ubuntu-latest
3737 needs : ubuntu-20-first
3838
3939 container :
40- image : ubuntu:20 .04
40+ image : ubuntu:24 .04
4141
4242 steps :
4343 - uses : actions/checkout@v6
5050 apt-get update && apt-get install -y sudo
5151 fi
5252 - name : Fix pip cache permissions
53- run : sudo chown -R $(whoami) /github/home
54- # - name: Clear cache
55- # run: |
56- # rm -rf "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old"
57- # mkdir -p "${{ runner.tool_cache }}"
58- - name : Clear tool cache
59- run : |
60- rm -rf /__w/_tool/Python
61- echo "Verify cleared:"
62- ls -la /__w/_tool/
53+ run : sudo chown -R $(whoami) /github/home
6354
6455
6556 - name : Setup Python 3.8
You can’t perform that action at this time.
0 commit comments