We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0e45b0 commit 00b2d37Copy full SHA for 00b2d37
.github/scripts/windows/build.bat
@@ -23,7 +23,10 @@ if not exist "%SDK_RUNNER%" (
23
24
if not exist "%PHP_BUILD_CACHE_SDK_DIR%" (
25
echo Cloning remote SDK repository
26
- git clone --branch %SDK_BRANCH% %SDK_REMOTE% --depth 1 "%PHP_BUILD_CACHE_SDK_DIR%" 2>&1
+ git clone %SDK_REMOTE% "%PHP_BUILD_CACHE_SDK_DIR%" 2>&1
27
+ pushd "%PHP_BUILD_CACHE_SDK_DIR%"
28
+ git reset --hard %SDK_BRANCH%
29
+ popd
30
)
31
32
@REM for /f "tokens=*" %%a in ('type %PHP_BUILD_CACHE_SDK_DIR%\VERSION') do set GOT_SDK_VER=%%a
0 commit comments