[CI] 让 Linux安装器构建先安装python

This commit is contained in:
2026-01-04 01:05:27 +08:00
parent c93840af5f
commit 1cae0fb849

View File

@@ -50,6 +50,11 @@ jobs:
- name: 构建Linux安装器 - name: 构建Linux安装器
run: | run: |
echo "开始构建Linux安装器..." echo "开始构建Linux安装器..."
echo "安装Python3和pip..."
sudo apt-get update
sudo apt-get install -y python3 python3-pip
cd Installer/ConsoleInstaller cd Installer/ConsoleInstaller
# 确保pip已安装 # 确保pip已安装
if ! command -v pip3 &> /dev/null; then if ! command -v pip3 &> /dev/null; then