From 53adb47562a0f575d5cfad6627c0abdb1b23ccc7 Mon Sep 17 00:00:00 2001
From: Shivam Mathur
@@ -71,16 +71,15 @@ Both `GitHub-hosted` and `self-hosted` runners are supported by `setup-php` on t ### GitHub-Hosted Runners -| Virtual environment | YAML workflow label | Pre-installed PHP | -|----------------------|------------------------------------|------------------------| -| Ubuntu 22.04 | `ubuntu-22.04` | `PHP 8.1` | -| Ubuntu 20.04 | `ubuntu-latest` or `ubuntu-20.04` | `PHP 7.4` to `PHP 8.1` | -| Ubuntu 18.04 | `ubuntu-18.04` | `PHP 7.2` to `PHP 8.1` | -| Windows Server 2022 | `windows-latest` or `windows-2022` | `PHP 8.1` | -| Windows Server 2019 | `windows-2019` | `PHP 8.1` | -| macOS Monterey 12.x | `macos-12` | `PHP 8.1` | -| macOS Big Sur 11.x | `macos-latest` or `macos-11` | `PHP 8.1` | -| macOS Catalina 10.15 | `macos-10.15` | `PHP 8.1` | +| Virtual environment | YAML workflow label | Pre-installed PHP | +|---------------------|------------------------------------|------------------------| +| Ubuntu 22.04 | `ubuntu-22.04` | `PHP 8.1` | +| Ubuntu 20.04 | `ubuntu-latest` or `ubuntu-20.04` | `PHP 7.4` to `PHP 8.1` | +| Ubuntu 18.04 | `ubuntu-18.04` | `PHP 7.2` to `PHP 8.1` | +| Windows Server 2022 | `windows-latest` or `windows-2022` | `PHP 8.1` | +| Windows Server 2019 | `windows-2019` | `PHP 8.1` | +| macOS Monterey 12.x | `macos-12` | `PHP 8.1` | +| macOS Big Sur 11.x | `macos-latest` or `macos-11` | `PHP 8.1` | ### Self-Hosted Runners @@ -93,9 +92,9 @@ Both `GitHub-hosted` and `self-hosted` runners are supported by `setup-php` on t | Debian 10 | `self-hosted` or `Linux` | | Windows 7 and newer | `self-hosted` or `Windows` | | Windows Server 2012 R2 and newer | `self-hosted` or `Windows` | +| macOS Ventura 13.x x86_64/arm64 | `self-hosted` or `macOS` | | macOS Monterey 12.x x86_64/arm64 | `self-hosted` or `macOS` | | macOS Big Sur 11.x x86_64/arm64 | `self-hosted` or `macOS` | -| macOS Catalina 10.15 | `self-hosted` or `macOS` | - Refer to the [self-hosted setup](#self-hosted-setup) to use the action on self-hosted runners. - Operating systems based on the above Ubuntu and Debian versions are also supported on best effort basis. @@ -105,8 +104,8 @@ Both `GitHub-hosted` and `self-hosted` runners are supported by `setup-php` on t On all supported OS/Platforms the following PHP versions are supported as per the runner. -- PHP 5.3 to PHP 8.2 on GitHub-hosted runners. -- PHP 5.6 to PHP 8.2 on self-hosted runners. +- PHP 5.3 to PHP 8.3 on GitHub-hosted runners. +- PHP 5.6 to PHP 8.3 on self-hosted runners. | PHP Version | Stability | Release Support | Runner Support | |-------------|-----------|-----------------------|--------------------------------| diff --git a/src/configs/php-versions.json b/src/configs/php-versions.json index adb1e7e3..ab87ac12 100644 --- a/src/configs/php-versions.json +++ b/src/configs/php-versions.json @@ -1,7 +1,7 @@ { - "latest": "8.1", - "nightly": "8.2", + "latest": "8.2", + "nightly": "8.3", "5.x": "5.6", "7.x": "7.4", - "8.x": "8.1" + "8.x": "8.2" } \ No newline at end of file diff --git a/src/scripts/darwin.sh b/src/scripts/darwin.sh index 585b7bdd..59505d6f 100644 --- a/src/scripts/darwin.sh +++ b/src/scripts/darwin.sh @@ -241,7 +241,7 @@ setup_php() { } # Variables -version=${1:-'8.1'} +version=${1:-'8.2'} ini=${2:-'production'} src=${0%/*}/.. php_formula=shivammathur/php/php@"$version" diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 9f52be22..d22abb2a 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -267,7 +267,7 @@ setup_php() { } # Variables -version=${1:-'8.1'} +version=${1:-'8.2'} ini=${2:-'production'} src=${0%/*}/.. debconf_fix="DEBIAN_FRONTEND=noninteractive" diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index b6db26db..bd42ae00 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -3,7 +3,7 @@ param ( [ValidateNotNull()] [ValidateLength(1, [int]::MaxValue)] [string] - $version = '8.1', + $version = '8.2', [Parameter(Position = 1, Mandatory = $true)] [ValidateNotNull()] [ValidateLength(1, [int]::MaxValue)] @@ -264,7 +264,7 @@ $php_builder = "$github/shivammathur/php-builder-windows" $current_profile = "$env:TEMP\setup-php.ps1" $ProgressPreference = 'SilentlyContinue' $jit_versions = '8.[0-9]' -$nightly_versions = '8.[2-9]' +$nightly_versions = '8.[3-9]' $xdebug3_versions = "7.[2-4]|8.[0-9]" $enable_extensions = ('openssl', 'curl', 'mbstring')