尝试生成macos-x86架构包
This commit is contained in:
3
.github/workflows/build-macos-x86.yml
vendored
3
.github/workflows/build-macos-x86.yml
vendored
@@ -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
|
||||||
|
|||||||
3
.github/workflows/build-macos.yml
vendored
3
.github/workflows/build-macos.yml
vendored
@@ -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
|
||||||
|
|||||||
3
.github/workflows/build-windows.yml
vendored
3
.github/workflows/build-windows.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user