1
This commit is contained in:
@ -30,11 +30,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 安装 Python 3.11
|
- name: 安装 Python 3.11
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
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
|
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
|
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
|
||||||
python3 --version
|
python3 --version
|
||||||
|
|||||||
Reference in New Issue
Block a user