ci: use Tencent apt mirror
Some checks failed
Build and Deploy (tool.xpcool.com) / build-and-deploy (push) Failing after 5s
Some checks failed
Build and Deploy (tool.xpcool.com) / build-and-deploy (push) Failing after 5s
This commit is contained in:
parent
b89b6a1ebe
commit
2fd700fb16
@ -10,8 +10,10 @@ jobs:
|
|||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install git
|
- name: Install git (Tencent mirror apt)
|
||||||
run: |
|
run: |
|
||||||
|
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
|
apt-get update
|
||||||
apt-get install -y git
|
apt-get install -y git
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user