mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Restore stability workaround for PHP 8.1 on Windows
This commit is contained in:
parent
cb0c293f02
commit
9114b007ae
@ -96,10 +96,9 @@ Function Add-Extension {
|
||||
if(($version -match $nightly_versions) -and (Select-String -Path $src\configs\windows_extensions -Pattern $extension -SimpleMatch -Quiet)) {
|
||||
Add-NightlyExtension $extension
|
||||
} else {
|
||||
# Patch till PHP 8.2 DLLs are released as stable.
|
||||
# Patch till DLLs for PHP 8.1 and 8.2 are released as stable.
|
||||
$minimumStability = $stability
|
||||
if ($version -eq '8.2' -and $stability -eq 'stable')
|
||||
{
|
||||
if ($version -match '8.[1-2]' -and $stability -eq 'stable') {
|
||||
$minimumStability = 'snapshot'
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user