From c468fdda0e4fd8bf5b2253527b368362ccb81954 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Tue, 26 Aug 2025 16:08:50 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E4=BB=A5=E4=BD=BF=E7=94=A8=E9=98=BF=E9=87=8C?= =?UTF-8?q?=E4=BA=91=E9=95=9C=E5=83=8F=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 /etc/apt/sources.list 文件,将 Debian 官方镜像源替换为阿里云镜像源 - 更新 security.debian.org 为阿里云镜像源 - 这些更改旨在提高构建过程中的下载速度和可靠性 --- .gitea/workflows/publish_on_tagged.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/publish_on_tagged.yml b/.gitea/workflows/publish_on_tagged.yml index 33caf21..726f632 100644 --- a/.gitea/workflows/publish_on_tagged.yml +++ b/.gitea/workflows/publish_on_tagged.yml @@ -17,6 +17,8 @@ jobs: ls ${{ gitea.workspace }} - name: Zip files in the repository run: | + sed -i 's|deb.debian.org|mirrors.aliyun.com|g' /etc/apt/sources.list + sed -i 's|security.debian.org|mirrors.aliyun.com|g' /etc/apt/sources.list apt-get update apt-get install zip zip -r dist.zip *