File tree Expand file tree Collapse file tree 2 files changed +32
-1
lines changed
Expand file tree Collapse file tree 2 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ REM Clean release folder if exists
2+ IF EXIST C:\php-release rmdir /S /Q C:\php-release
3+
4+ REM Create release folder
5+ mkdir C:\php-release
6+
7+ REM Copy php.exe
8+ copy C:\obj\Release_TS\php.exe C:\php-release\
9+
10+ REM Copy ini files
11+ copy C:\obj\Release_TS\php.ini-* C:\php-release\
12+
13+ REM Copy all DLLs
14+ xcopy /E /I /H /Y C:\obj\Release_TS\*.dll C:\php-release\
15+
16+ REM Copy ext directory
17+ xcopy /E /I /H /Y C:\obj\Release_TS\ext C:\php-release\ext\
Original file line number Diff line number Diff line change 6363 run : .github/scripts/windows/build.bat
6464
6565 - name : Test
66- run : .github/scripts/windows/test.bat
66+ run : .github/scripts/windows/test.bat
67+
68+ - name : Publish built PHP
69+ run : .github/scripts/windows/publish.bat
70+
71+ - name : Archive built PHP
72+ shell : powershell
73+ run : |
74+ Compress-Archive -Path "C:\php-release\*" -DestinationPath php-windows.zip
75+
76+ - name : Upload archive
77+ uses : actions/upload-artifact@v4
78+ with :
79+ name : true-async-php-windows
80+ path : php-windows.zip
You can’t perform that action at this time.
0 commit comments