尝试生成macos-x86架构包

This commit is contained in:
xunbu
2025-08-25 14:41:40 +08:00
parent cdeea96fd8
commit 40c89b14ba
3 changed files with 6 additions and 3 deletions

View File

@@ -44,7 +44,8 @@ jobs:
# 步骤 7: 运行 PyInstaller 构建 x86_64 应用 # 步骤 7: 运行 PyInstaller 构建 x86_64 应用
- name: Build the x86_64 application with PyInstaller - name: Build the x86_64 application with PyInstaller
run: | run: |
uv run --no-dev pyinstaller lite_mac_x86_64.spec --noconfirm uv pip install pyinstaller
uv run --no-dev pyinstaller lite_mac_x86_64.spec --noconfirm --clean -y
# 步骤 8: 从代码中获取应用版本号 # 步骤 8: 从代码中获取应用版本号
- name: Get application version - name: Get application version

View File

@@ -43,7 +43,8 @@ jobs:
# universal2 的配置已移至 lite_mac.spec 文件中,所以命令行很简洁。 # universal2 的配置已移至 lite_mac.spec 文件中,所以命令行很简洁。
- name: Build the application with PyInstaller - name: Build the application with PyInstaller
run: | run: |
uv run --no-dev pyinstaller lite_mac.spec --noconfirm uv pip install pyinstaller
uv run --no-dev pyinstaller lite_mac.spec --noconfirm --clean -y
# 步骤 8: 从代码中获取应用版本号 # 步骤 8: 从代码中获取应用版本号
- name: Get application version - name: Get application version

View File

@@ -40,7 +40,8 @@ jobs:
# 第 6 步: 运行 PyInstaller # 第 6 步: 运行 PyInstaller
- name: Build the application with PyInstaller - name: Build the application with PyInstaller
run: | run: |
uv run --no-dev pyinstaller lite.spec --noconfirm uv pip install pyinstaller
uv run --no-dev pyinstaller lite.spec --noconfirm --clean -y
# 第 7 步: 上传 exe 文件作为构建产物 # 第 7 步: 上传 exe 文件作为构建产物
- name: Upload Windows executable - name: Upload Windows executable