diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 5f1b80c8c98..0304af6f0bf 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -61,7 +61,10 @@ env: jobs: build: name: Linux Build - runs-on: ubuntu-22.04 + # Ubuntu 22.04 has glibc 2.34 so the binaries produced + # won't run on systems with older glibc e.g wpt.fyi + # runners which still use 20.04. + runs-on: ubuntu-${{ inputs.upload && '20.04' || '22.04' }} steps: - uses: actions/checkout@v3 if: github.event_name != 'pull_request_target'