From e46630e58ba6d30f90bf9429f1592a45428f7bcc Mon Sep 17 00:00:00 2001 From: cxykevin Date: Mon, 15 Apr 2024 22:20:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8ea6444..90765d5 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,15 +10,17 @@ jobs: run: echo "OS=${{ runner.os }} NAME=${{ gitea.event_name }} REPO=${{ gitea.repository }} BRANCH=${{ gitea.ref }} ST=${{ job.status }}" - name: Prepare Source run: | + echo "--- write source ---" echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free">/etc/apt/sources.list echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free">>/etc/apt/sources.list echo "deb http://mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free">>/etc/apt/sources.list echo "deb https://security.debian.org/debian-security bullseye-security main contrib non-free">>/etc/apt/sources.list cat /etc/apt/sources.list + echo "--- uddate source ---" + apt-get update - name: Prepare Python run: | - apt-get update - apt-get install python3-pip + apt-get install python3-pip -y python3 -m pip install setuptools - name: CheckOut uses: http://hmtsai.cn:3000/actions/checkout@v4