Repository navigation
testing-1087 #31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: testing-1087 | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| ubuntu-20-first: | |
| name: Step 1 - Ubuntu 24.04 container | |
| runs-on: self-hosted | |
| container: | |
| image: ubuntu:24.04 | |
| steps: | |
| - name: Install OS prereqs (libssl needed by Python at install time) | |
| run: | | |
| apt-get update | |
| apt-get install -y --no-install-recommends \ | |
| ca-certificates curl git sudo libssl-dev | |
| - name: Fix pip cache permissions | |
| run: sudo chown -R $(whoami) /github/home | |
| - uses: actions/checkout@v6 | |
| - name: Setup Python 3.11 (v6 — bug expected) | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| - name: Upgrade pip (job 1 should succeed) | |
| run: python -m pip install --upgrade pip | |
| ubuntu-24-second: | |
| name: Step 2 - Ubuntu 20.04 container (BUG SURFACES HERE) | |
| needs: ubuntu-20-first | |
| runs-on: self-hosted | |
| container: | |
| image: ubuntu:20.04 | |
| steps: | |
| - name: Install OS prereqs (libssl needed by Python at install time) | |
| run: | | |
| apt-get update | |
| apt-get install -y --no-install-recommends \ | |
| ca-certificates curl git sudo libssl-dev | |
| - name: Fix pip cache permissions | |
| run: sudo chown -R $(whoami) /github/home | |
| - uses: actions/checkout@v6 | |
| - name: Show tool cache BEFORE setup (should contain 3.8.x from job 1) | |
| run: ls -la /__w/_tool/Python/ | |
| - name: Setup Python 3.11 (v6 — should hit job 1's cache) | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| # 👇 THIS is the step where you should see THE issue's exact error | |
| - name: Upgrade pip (this is where #1087 manifests) | |
| run: python -m pip install --upgrade pip |