diff --git a/CITools/js/check_env.sh b/CITools/js/check_env.sh index 6e2e6ce533327ceb8e0dd60f8572fc0c6991e50b..c615aaa0e5c8d69a6a11d6ea9bacd70d424bad7d 100755 --- a/CITools/js/check_env.sh +++ b/CITools/js/check_env.sh @@ -19,8 +19,10 @@ NODE_HOME=$ROOT_DIR/node-v16.15.0-linux-x64 NODE_URL=https://nodejs.org/download/release/v16.15.0/node-v16.15.0-linux-x64.tar.gz SDK_API9_URL=https://mirrors.huaweicloud.com/openharmony/os/3.2.2/ohos-sdk-windows_linux-public.tar.gz SDK_API9_SHASUM="edb094e4ce2739a5722ecd6ccddbfea9c8688d46de1144221584e867a8ab11ca9943a3b3d6ad189c553289e091395c719920b96264022a4d47240108f295dee9" -SDK_API10_URL=https://mirrors.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-windows_linux-public.tar.gz -SDK_API10_SHASUM="1f1d9587b4fcca6e0be4c0c51035dcbbebef43fa38ae735c1946b95163ea05f3c9a58734f8cdad76d516761bf7b846347fc4796413b52defd266f3a25037d682" +# SDK_API10_URL=https://mirrors.huaweicloud.com/openharmony/os/4.0-Beta2/ohos-sdk-windows_linux-public.tar.gz +# SDK_API10_SHASUM="1f1d9587b4fcca6e0be4c0c51035dcbbebef43fa38ae735c1946b95163ea05f3c9a58734f8cdad76d516761bf7b846347fc4796413b52defd266f3a25037d682" +SDK_API10_URL=http://download.ci.openharmony.cn/version/Release_Version/OpenHarmony_4.0.10.11/20231009_140924/version-Release_Version-OpenHarmony_4.0.10.11-20231009_140924-ohos-sdk-full_4.0-release.tar.gz +SDK_API10_SHASUM=92d842edb445b4aa890f2d8bf09b4473ed59b11977caf96199735302892d4d165b4f536d02bd3906af07c8749889573f7e1e343ff2c540ad14a31c246764ab22 SHASUM_FILE=SHA512SUM API_VERSION= SDK_API9_DIR=$ROOT_DIR/ohos-sdk-9 @@ -189,7 +191,7 @@ function check_sdk_sum() { echo "need change sdk!!" fi - rm -rf $ROOT_DIR/ohos-sdk-9 + rm -rf $ROOT_DIR/ohos-sdk-9* fi else if [ -d $SDK_API10_DIR ] @@ -207,7 +209,7 @@ function check_sdk_sum() { echo "need change sdk" fi - rm -rf $ROOT_DIR/ohos-sdk-10 + rm -rf $ROOT_DIR/ohos-sdk-10* fi fi }