FIX: workflow apt 换腾讯云源(deb.debian.org 国内直连超时导致卡死)
Some checks failed
Build and Deploy (service.xpcool.com) / build-and-deploy (push) Failing after 2m37s
Some checks failed
Build and Deploy (service.xpcool.com) / build-and-deploy (push) Failing after 2m37s
This commit is contained in:
parent
8950dc83e9
commit
b439c4d89c
@ -18,6 +18,9 @@ jobs:
|
|||||||
- name: Install git & download Go toolchain
|
- name: Install git & download Go toolchain
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
|
# apt 换腾讯云源(deb.debian.org 国内直连超时)
|
||||||
|
sed -i 's|deb.debian.org|mirrors.cloud.tencent.com|g; s|security.debian.org|mirrors.cloud.tencent.com|g' /etc/apt/sources.list 2>/dev/null || true
|
||||||
|
sed -i 's|deb.debian.org|mirrors.cloud.tencent.com|g; s|security.debian.org|mirrors.cloud.tencent.com|g' /etc/apt/sources.list.d/debian.sources 2>/dev/null || true
|
||||||
apt-get update -qq
|
apt-get update -qq
|
||||||
apt-get install -y -qq git >/dev/null
|
apt-get install -y -qq git >/dev/null
|
||||||
# npmmirror/腾讯云镜像无 golang 归档,用官方 go.dev(已实测 200)
|
# npmmirror/腾讯云镜像无 golang 归档,用官方 go.dev(已实测 200)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user