修改CI-CD go为国内镜像

This commit is contained in:
zhangyuheng 2024-03-25 11:07:51 +08:00
parent 47ded62aa5
commit e8ce830c05

View File

@ -30,7 +30,7 @@ jobs:
echo "done!"
- name: "setup go for release script"
run: |
wget --no-check-certificate https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
wget --no-check-certificate https://golang.google.cn/dl/go1.21.6.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz
ln -s /usr/local/go/bin/go /usr/bin/go
go version