Skip to content

Commit

Permalink
🔨 Update goproxy to https://mirrors.aliyun.com/goproxy/
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Nov 30, 2024
1 parent fa14fdc commit bbc3326
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion kernel/harmony/build-win.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion kernel/harmony/build.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/darwin-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion scripts/linux-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion scripts/win-build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbc3326

Please sign in to comment.