File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ jobs:
8080 run : |
8181 $artifactDirectory = $(pwd).Path
8282 $zip = Get-ChildItem -Path $artifactDirectory -Filter "php-*.zip" -File |
83- Where-Object { $_.Name -match "^php-(.+?)-(?:nts-)?Win32-vs \d+-${{ matrix.arch }}\.zip$" } |
83+ Where-Object { $_.Name -match "^php-(.+?)-(?:nts-)?Win32-v[sc] \d+-${{ matrix.arch }}\.zip$" } |
8484 Select-Object -First 1
8585 if ($null -eq $zip) {
8686 throw "Unable to determine PHP version from build artifacts in $artifactDirectory"
8787 }
88- $phpVersion = [regex]::Match($zip.Name, '^php-(.+?)-(?:nts-)?Win32-vs \d+-').Groups[1].Value
88+ $phpVersion = [regex]::Match($zip.Name, '^php-(.+?)-(?:nts-)?Win32-v[sc] \d+-').Groups[1].Value
8989
9090 $pv = $phpVersion
9191 if($phpVersion -ne 'master') {
You can’t perform that action at this time.
0 commit comments