File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ jobs:
9292 Copy-Item -Path builds -Destination master -Container -Recurse
9393 Copy-Item -Path C:\php-snap-build\rmtools\data\db\master.json -Destination .\builds\${{ matrix.config }}.json
9494 Get-ChildItem .\master -Filter '*win32*.zip' | ForEach-Object { Copy-Item $_.FullName "$($_.DirectoryName)\$($_.Name -replace 'win32','windows')" }
95- if(("${{ matrix.config }}" -eq " ts-windows-vs17-x64") -or ("${{ matrix.config }}" -eq "ts-windows-vs17- x86" )) {
96- Get-ChildItem .\master *.zip | Rename- Item -NewName { $_.name -replace $php_version," master-ts" }
95+ if (("${{ matrix.config }}" -match ' ts-windows-vs17-x(64| x86)' )) {
96+ Get-ChildItem .\master -Filter ' *.zip' | ForEach-Object { Copy- Item $_.FullName (Join-Path $_.DirectoryName ( $_.Name -replace $php_version,' master-ts')) }
9797 } else {
98- Get-ChildItem .\master *.zip | Rename- Item -NewName { $_.name -replace $php_version," master" }
98+ Get-ChildItem .\master -Filter ' *.zip' | ForEach-Object { Copy- Item $_.FullName (Join-Path $_.DirectoryName ( $_.Name -replace $php_version,' master')) }
9999 }
100100 Get-ChildItem .\master\* -Include php-*.zip | Foreach-Object { Copy-Item -Path $_ -Destination .\builds }
101101 if((Get-ChildItem .\builds\*.zip).Count -lt 5) {
You can’t perform that action at this time.
0 commit comments