Skip to content

Commit 60b376b

Browse files
authored
Remove PHP 8.1 config patch
Remove PHP 8.1 patch as fixed as the config is added upsteam.
1 parent 434620c commit 60b376b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/php81.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,13 @@ jobs:
7272
$git_script_location="C:\php-snap-build\rmtools\include\Git.php"
7373
$snap_script_location="C:\php-snap-build\rmtools\script\snap.php"
7474
$branch_script_location="C:\php-snap-build\rmtools\include\Branch.php"
75-
$config_directory="C:\php-snap-build\rmtools\data\config\branch\${{ matrix.arch }}"
76-
$config_location="$config_directory\php81.ini"
77-
Copy-Item "$config_directory\php80.ini" -Destination $config_location -Force
75+
$config_location="C:\php-snap-build\rmtools\data\config\branch\${{ matrix.arch }}\php81.ini"
7876
((Get-Content -path $git_script_location -Raw) -replace "c:\\apps\\git\\bin\\git.exe", $git_location) | Set-Content -Path $git_script_location
7977
((Get-Content -path $git_script_location -Raw) -replace "c:\\apps\\git\\bin\\tar.exe", $tar_location) | Set-Content -Path $git_script_location
8078
((Get-Content -path $task_location -Raw) -replace ">> %LOG_FILE% 2<&1", "") | Set-Content -Path $task_location
8179
((Get-Content -path $snap_script_location -Raw) -replace "0, 7", "0, 10") | Set-Content -Path $snap_script_location
8280
((Get-Content -path $branch_script_location -Raw) -replace "0, 7", "0, 10") | Set-Content -Path $branch_script_location
8381
((Get-Content -path $config_location -Raw) -replace "pgo=1", "pgo=0") | Set-Content -Path $config_location
84-
((Get-Content -path $config_location -Raw) -replace "8.0", "8.1") | Set-Content -Path $config_location
8582
- name: build PHP
8683
run: |
8784
C:\php-snap-build\php-sdk\bin\vswhere

0 commit comments

Comments
 (0)