We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58dec95 commit bc50a8aCopy full SHA for bc50a8a
1 file changed
.github/workflows/test-php-libs-from-source.yml
@@ -80,12 +80,12 @@ jobs:
80
run: |
81
$artifactDirectory = $(pwd).Path
82
$zip = Get-ChildItem -Path $artifactDirectory -Filter "php-*.zip" -File |
83
- Where-Object { $_.Name -match "^php-(.+?)-(?:nts-)?Win32-vs\d+-${{ matrix.arch }}\.zip$" } |
+ Where-Object { $_.Name -match "^php-(.+?)-(?:nts-)?Win32-v[sc]\d+-${{ matrix.arch }}\.zip$" } |
84
Select-Object -First 1
85
if ($null -eq $zip) {
86
throw "Unable to determine PHP version from build artifacts in $artifactDirectory"
87
}
88
- $phpVersion = [regex]::Match($zip.Name, '^php-(.+?)-(?:nts-)?Win32-vs\d+-').Groups[1].Value
+ $phpVersion = [regex]::Match($zip.Name, '^php-(.+?)-(?:nts-)?Win32-v[sc]\d+-').Groups[1].Value
89
90
$pv = $phpVersion
91
if($phpVersion -ne 'master') {
0 commit comments