From 76efd51dfee11f3c21cfce8d4bd3449fe2d38a57 Mon Sep 17 00:00:00 2001 From: jrhlh <150811537+jrhlh@users.noreply.github.com> Date: Fri, 18 Jul 2025 21:07:08 +0800 Subject: [PATCH] 1 --- .gitea/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3c62a26..ebca4ab 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -30,7 +30,11 @@ jobs: - name: 安装 Python 3.11 run: | - apt-get update + sudo apt-get update + sudo apt-get install -y software-properties-common + sudo add-apt-repository -y ppa:deadsnakes/ppa + sudo 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 python3 --version