@@ -26,20 +26,23 @@ jobs:
2626 - name : git config
2727 run : git config --global core.autocrlf false && git config --global core.eol lf
2828
29- - name : Checkout php-async repo
29+ - name : Checkout php-src to root
3030 uses : actions/checkout@v4
3131 with :
32- path : async
32+ repository : true-async/php-src
33+ ref : true-async-stable
3334
34- - name : Clone php-src (true-async-stable)
35- run : |
36- git clone --depth=1 --branch=true-async-stable https://github.com/true-async/php-src php-src
35+ - name : Checkout async extension
36+ uses : actions/checkout@v4
37+ with :
38+ repository : ${{ github.repository }}
39+ path : async
3740
38- - name : Copy async extension to php-src
41+ - name : Copy async extension to ext/async
3942 shell : cmd
4043 run : |
41- if not exist php-src\ ext\async mkdir php-src\ ext\async
42- xcopy /E /I /H /Y async php-src\ ext\async
44+ if not exist ext\async mkdir ext\async
45+ xcopy /E /I /H /Y async ext\async
4346
4447 - name : Setup LibUV
4548 shell : powershell
@@ -51,13 +54,10 @@ jobs:
5154 C:\vcpkg\vcpkg.exe install libuv:x64-windows
5255
5356 - name : Setup
54- working-directory : php-src
5557 uses : ./.github/actions/setup-windows
5658
5759 - name : Build
58- working-directory : php-src
5960 run : .github/scripts/windows/build.bat
6061
6162 - name : Test
62- working-directory : php-src
6363 run : .github/scripts/windows/test.bat
0 commit comments