@@ -5,42 +5,44 @@ if /i "%APPVEYOR%%GITHUB_ACTIONS%" neq "True" (
5
5
exit /b 3
6
6
)
7
7
8
- rem rmdir takes several minutes for large directories, rename instead
9
- if /i " %APPVEYOR% " equ " True" (
10
- rmdir /s /q C:\cygwin > NUL 2 > NUL
8
+ if /i " %APPVEYOR%%GITHUB_ACTIONS% " equ " True" (
9
+ rem rmdir takes several minutes for large directories, rename instead
10
+ if /i " %APPVEYOR% " equ " True" (
11
+ rmdir /s /q C:\cygwin > NUL 2 > NUL
12
+ if %errorlevel% neq 0 exit /b 3
13
+ rmdir /s /q C:\cygwin64 > NUL 2 > NUL
14
+ if %errorlevel% neq 0 exit /b 3
15
+ rmdir /s /q C:\mingw > NUL 2 > NUL
16
+ if %errorlevel% neq 0 exit /b 3
17
+ rmdir /s /q C:\mingw-w64 > NUL 2 > NUL
18
+ if %errorlevel% neq 0 exit /b 3
19
+ rmdir /s /q C:\msys64 > NUL 2 > NUL
20
+ if %errorlevel% neq 0 exit /b 3
21
+ ) else (
22
+ rename C:\cygwin C:\trash-cygwin
23
+ if %errorlevel% neq 0 exit /b 3
24
+ rename C:\cygwin64 C:\trash-cygwin64
25
+ if %errorlevel% neq 0 exit /b 3
26
+ rename C:\mingw C:\trash-mingw
27
+ if %errorlevel% neq 0 exit /b 3
28
+ rename C:\mingw-w64 C:\trash-mingw-w64
29
+ if %errorlevel% neq 0 exit /b 3
30
+ rename C:\msys64 C:\trash-msys64
31
+ if %errorlevel% neq 0 exit /b 3
32
+ )
33
+ rmdir /s /q c:\OpenSSL-Win32 > NUL 2 > NUL
11
34
if %errorlevel% neq 0 exit /b 3
12
- rmdir /s /q C:\cygwin64 > NUL 2 > NUL
35
+ rmdir /s /q c:\OpenSSL-Win64 > NUL 2 > NUL
13
36
if %errorlevel% neq 0 exit /b 3
14
- rmdir /s /q C:\mingw > NUL 2 > NUL
37
+ rmdir /s /q c:\OpenSSL-v11-Win32 > NUL 2 > NUL
15
38
if %errorlevel% neq 0 exit /b 3
16
- rmdir /s /q C:\mingw-w64 > NUL 2 > NUL
39
+ rmdir /s /q c:\OpenSSL-v11-Win64 > NUL 2 > NUL
17
40
if %errorlevel% neq 0 exit /b 3
18
- rmdir /s /q C:\msys64 > NUL 2 > NUL
41
+ del /f /q C:\Windows\System32\libcrypto-1_1-x64.dll > NUL 2 > NUL
19
42
if %errorlevel% neq 0 exit /b 3
20
- ) else (
21
- rename C:\cygwin C:\trash-cygwin
22
- if %errorlevel% neq 0 exit /b 3
23
- rename C:\cygwin64 C:\trash-cygwin64
24
- if %errorlevel% neq 0 exit /b 3
25
- rename C:\mingw C:\trash-mingw
26
- if %errorlevel% neq 0 exit /b 3
27
- rename C:\mingw-w64 C:\trash-mingw-w64
28
- if %errorlevel% neq 0 exit /b 3
29
- rename C:\msys64 C:\trash-msys64
43
+ del /f /q C:\Windows\System32\libssl-1_1-x64.dll > NUL 2 > NUL
30
44
if %errorlevel% neq 0 exit /b 3
31
45
)
32
- rmdir /s /q c:\OpenSSL-Win32 > NUL 2 > NUL
33
- if %errorlevel% neq 0 exit /b 3
34
- rmdir /s /q c:\OpenSSL-Win64 > NUL 2 > NUL
35
- if %errorlevel% neq 0 exit /b 3
36
- rmdir /s /q c:\OpenSSL-v11-Win32 > NUL 2 > NUL
37
- if %errorlevel% neq 0 exit /b 3
38
- rmdir /s /q c:\OpenSSL-v11-Win64 > NUL 2 > NUL
39
- if %errorlevel% neq 0 exit /b 3
40
- del /f /q C:\Windows\System32\libcrypto-1_1-x64.dll > NUL 2 > NUL
41
- if %errorlevel% neq 0 exit /b 3
42
- del /f /q C:\Windows\System32\libssl-1_1-x64.dll > NUL 2 > NUL
43
- if %errorlevel% neq 0 exit /b 3
44
46
45
47
if /i " %APPVEYOR_REPO_BRANCH:~0 ,4 % " equ " php-" (
46
48
set BRANCH = %APPVEYOR_REPO_BRANCH:~4 ,3 %
0 commit comments