We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45e77de commit 8d173ccCopy full SHA for 8d173cc
extension/BuildPhpExtension/private/Add-Extension.ps1
@@ -26,6 +26,14 @@ Function Add-Extension {
26
$currentDirectory = (Get-Location).Path
27
& tar -xzf "$Extension.tgz" -C $currentDirectory
28
Set-Location "$Extension-*"
29
+ # Apply patches only for php/php-windows-builder and shivammathur/php-windows-builder
30
+ if($null -ne $env:GITHUB_REPOSITORY) {
31
+ if($env:GITHUB_REPOSITORY -eq 'php/php-windows-builder' -or $env:GITHUB_REPOSITORY -eq 'shivammathur/php-windows-builder') {
32
+ if(Test-Path -PATH $PSScriptRoot\..\patches\$Extension.ps1) {
33
+ . $PSScriptRoot\..\patches\$Extension.ps1
34
+ }
35
36
37
$bat_content = @()
38
$bat_content += ""
39
$bat_content += "call phpize 2>&1"
0 commit comments