From bbc332642666fd89895160c505e61c4f752812de Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 30 Nov 2024 20:56:59 +0800 Subject: [PATCH] :hammer: Update goproxy to https://mirrors.aliyun.com/goproxy/ --- kernel/harmony/build-win.sh | 2 +- kernel/harmony/build.sh | 2 +- scripts/darwin-build.sh | 2 +- scripts/linux-build.sh | 2 +- scripts/win-build.bat | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/harmony/build-win.sh b/kernel/harmony/build-win.sh index fc3b15d32..329b66bff 100755 --- a/kernel/harmony/build-win.sh +++ b/kernel/harmony/build-win.sh @@ -1,6 +1,6 @@ #!/bin/bash -export GOPROXY=https://goproxy.io +export GOPROXY=https://mirrors.aliyun.com/goproxy/ export CGO_ENABLED=1 export GOOS=android export GOARCH=amd64 diff --git a/kernel/harmony/build.sh b/kernel/harmony/build.sh index a1c3c9569..5b229fa1c 100755 --- a/kernel/harmony/build.sh +++ b/kernel/harmony/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -export GOPROXY=https://goproxy.io +export GOPROXY=https://mirrors.aliyun.com/goproxy/ export CGO_ENABLED=1 export GOOS=android export GOARCH=arm64 diff --git a/scripts/darwin-build.sh b/scripts/darwin-build.sh index 8fe5bc1f1..304c018d9 100755 --- a/scripts/darwin-build.sh +++ b/scripts/darwin-build.sh @@ -15,7 +15,7 @@ echo 'Building Kernel' cd kernel go version export GO111MODULE=on -export GOPROXY=https://goproxy.io +export GOPROXY=https://mirrors.aliyun.com/goproxy/ export CGO_ENABLED=1 echo 'Building Kernel amd64' diff --git a/scripts/linux-build.sh b/scripts/linux-build.sh index 660763305..d5dbfe673 100755 --- a/scripts/linux-build.sh +++ b/scripts/linux-build.sh @@ -15,7 +15,7 @@ echo 'Building Kernel' cd kernel go version export GO111MODULE=on -export GOPROXY=https://goproxy.io +export GOPROXY=https://mirrors.aliyun.com/goproxy/ export CGO_ENABLED=1 echo 'Building Kernel amd64' diff --git a/scripts/win-build.bat b/scripts/win-build.bat index e12148e5c..eabd79b7c 100644 --- a/scripts/win-build.bat +++ b/scripts/win-build.bat @@ -19,7 +19,7 @@ echo 'Building Kernel' @REM the C compiler "gcc" is necessary https://sourceforge.net/projects/mingw-w64/files/mingw-w64/ go version set GO111MODULE=on -set GOPROXY=https://goproxy.io +set GOPROXY=https://mirrors.aliyun.com/goproxy/ set CGO_ENABLED=1 cd kernel