Update default PHP versions in README for GH runners

This commit is contained in:
Shivam Mathur 2024-03-03 07:41:03 +05:30
parent a4e22b60bb
commit 88841d1465

View File

@ -71,11 +71,12 @@ Both `GitHub-hosted` and `self-hosted` runners are supported by `setup-php` on t
| Virtual environment | YAML workflow label | Pre-installed PHP | | Virtual environment | YAML workflow label | Pre-installed PHP |
|---------------------|------------------------------------|------------------------| |---------------------|------------------------------------|------------------------|
| Ubuntu 22.04 | `ubuntu-latest` or `ubuntu-22.04` | `PHP 8.1` | | Ubuntu 22.04 | `ubuntu-latest` or `ubuntu-22.04` | `PHP 8.1` |
| Ubuntu 20.04 | `ubuntu-20.04` | `PHP 7.4` to `PHP 8.2` | | Ubuntu 20.04 | `ubuntu-20.04` | `PHP 7.4` to `PHP 8.3` |
| Windows Server 2022 | `windows-latest` or `windows-2022` | `PHP 8.2` | | Windows Server 2022 | `windows-latest` or `windows-2022` | `PHP 8.2` |
| Windows Server 2019 | `windows-2019` | `PHP 8.2` | | Windows Server 2019 | `windows-2019` | `PHP 8.2` |
| macOS Ventura 13.x | `macos-13` | `PHP 8.2` | | macOS Sonoma 14.x | `macos-14` | - |
| macOS Monterey 12.x | `macos-latest` or `macos-12` | `PHP 8.2` | | macOS Ventura 13.x | `macos-13` | `PHP 8.3` |
| macOS Monterey 12.x | `macos-latest` or `macos-12` | `PHP 8.3` |
### Self-Hosted Runners ### Self-Hosted Runners