ci(docker): 更新工作流以兼容不同运行环境
Build Windows / ACT Windows Checkout Verification (push) Successful in 7h0m16s
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Successful in 19m23s
Build Windows / build (push) Failing after 7h0m24s

修改 MinGW 安装脚本以同时支持 GitHub runner 和自托管容器
将 libcore 复制步骤的 shell 从 pwsh 改为 powershell
This commit is contained in:
2025-11-06 22:03:31 -08:00
parent ca74f9289e
commit bfa3ec48d6
+2 -1
View File
@@ -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
@@ -127,7 +128,7 @@ jobs:
path: .
- name: 🔧 复制 libcore 文件到正确位置并重命名
shell: pwsh
shell: powershell
run: |
Write-Host "📋 复制 libcore 文件..."