From 3304ed269d0d3d44eb78ab4ac45a25432329d0d3 Mon Sep 17 00:00:00 2001 From: jrhlh <150811537+jrhlh@users.noreply.github.com> Date: Sat, 19 Jul 2025 09:05:12 +0800 Subject: [PATCH] 1 --- .gitea/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3c62a26..d6536e0 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -30,9 +30,12 @@ jobs: - name: 安装 Python 3.11 run: | - apt-get update - apt-get install -y python3.11 python3.11-venv python3.11-distutils python3-pip - update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 + sudo apt update + sudo apt install -y software-properties-common + sudo add-apt-repository -y ppa:deadsnakes/ppa + sudo apt update + sudo apt install -y python3.11 python3.11-venv python3.11-distutils + sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 python3 --version - name: 安装后端依赖