mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-25 21:13:04 +07:00
Revert bumping PHP version for snapshot minimum stability.
This commit is contained in:
parent
5a2bd88cb3
commit
97e0a9729a
@ -125,9 +125,9 @@ Function Add-Extension {
|
|||||||
if(($version -match $nightly_versions) -and (Select-String -Path $src\configs\windows_extensions -Pattern $extension -SimpleMatch -Quiet)) {
|
if(($version -match $nightly_versions) -and (Select-String -Path $src\configs\windows_extensions -Pattern $extension -SimpleMatch -Quiet)) {
|
||||||
Add-NightlyExtension $extension
|
Add-NightlyExtension $extension
|
||||||
} else {
|
} else {
|
||||||
# Patch till DLLs for PHP 8.2 and above are released as stable.
|
# Patch till DLLs for PHP 8.1 and above are released as stable.
|
||||||
$minimumStability = $stability
|
$minimumStability = $stability
|
||||||
if ($version -match '8.[2-4]' -and $stability -eq 'stable') {
|
if ($version -match '8.[1-4]' -and $stability -eq 'stable') {
|
||||||
$minimumStability = 'snapshot'
|
$minimumStability = 'snapshot'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user