This commit is contained in:
jrhlh
2025-07-18 21:07:08 +08:00
parent 3106693e2f
commit 76efd51dfe

View File

@ -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