mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Fix setting stability in Add-Extension on Windows
This commit is contained in:
parent
408b70728f
commit
5959fab498
@ -61,7 +61,7 @@ Function Add-Extension {
|
||||
}
|
||||
else {
|
||||
# Patch till PHP 8.1 DLLs are released as stable.
|
||||
$minimumStability = 'stable'
|
||||
$minimumStability = $stability
|
||||
if($version -eq '8.1' -and $stability -eq 'stable') {
|
||||
$minimumStability = 'snapshot'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user