From b5f22ea0857873e6d58b1ded606f038aa7ffbfeb Mon Sep 17 00:00:00 2001 From: gpBlockchain <32102187+gpBlockchain@users.noreply.github.com> Date: Wed, 10 Jan 2024 11:28:49 +0800 Subject: [PATCH] fix windows ci (#3016) * fix macos sync ci update light-client sync data * Update prepare_neuron_windows.bat --- .../scripts/prepare_neuron_windows.bat | 21 ++++--------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/packages/sync-test/scripts/prepare_neuron_windows.bat b/packages/sync-test/scripts/prepare_neuron_windows.bat index 47083e30f5..3533901a55 100644 --- a/packages/sync-test/scripts/prepare_neuron_windows.bat +++ b/packages/sync-test/scripts/prepare_neuron_windows.bat @@ -1,19 +1,6 @@ @REM curl -O -L http://github-test-logs.ckbapp.dev/neuron/sync/Neuron-v0.111.1-setup.exe -copy .\Neuron-*.exe Neuron-setup.exe -@echo off -REM 执行安装程序 +move .\Neuron-*.exe Neuron-setup.exe .\Neuron-setup.exe /S /D=D:\a\neuron\neuron\packages\sync-test\neuron - -REM 等待进程执行结束 -:CHECK_LOOP -tasklist | find "Neuron-setup.exe" > nul -if errorlevel 1 ( - echo Neuron install succ - mkdir ".\source\bin" - copy ".\neuron\bin\ckb.exe" ".\source\bin\ckb.exe" - copy ".\neuron\bin\ckb-light-client.exe" ".\source\bin\ckb-light-client.exe" - exit /b 0 -) else ( - timeout /t 5 /nobreak > nul - goto :CHECK_LOOP -) +mkdir ".\source\bin" +copy ".\neuron\bin\ckb.exe" ".\source\bin\ckb.exe" +copy ".\neuron\bin\ckb-light-client.exe" ".\source\bin\ckb-light-client.exe"