ci(docker): 修复工作流中Windows编译任务名称并优化MinGW安装脚本

修复Windows编译任务名称中的多余字符
优化MinGW安装脚本以兼容不同运行环境
This commit is contained in:
2025-11-06 20:23:08 -08:00
parent ce969a6ad4
commit 067a715afe
+3 -1
View File
@@ -14,7 +14,7 @@ on:
jobs:
# 先编译 libcore
build-libcore:
name: 编译 libcore (Windows)1
name: 编译 libcore (Windows)
runs-on: client-server
container:
image: node:20
@@ -39,6 +39,7 @@ jobs:
- name: 🔧 安装 MinGW
run: |
# 在 GitHub 托管 runner(有 sudo)与 act/自托管容器(无 sudo)均可运行
if command -v sudo >/dev/null 2>&1; then
sudo apt-get update
sudo apt-get install -y mingw-w64
@@ -73,6 +74,7 @@ jobs:
libcore/bin/webui/**
retention-days: 7
# 构建 Windows 应用
build:
runs-on: windows-latest