ci(workflow): 修复docker.yml中格式错误并添加Flutter配置
Some checks failed
Build Windows / ACT Windows Checkout Verification (push) Successful in 7h0m17s
Build Windows / 编译 libcore (Windows) (20.15.1) (push) Successful in 19m25s
Build Windows / build (push) Failing after 7h0m23s

修复脚本中的格式错误,确保正确换行。同时添加Flutter配置步骤以支持Windows桌面开发
This commit is contained in:
shanshanzhong 2025-11-06 22:39:06 -08:00
parent bfa3ec48d6
commit db7a776d2b

View File

@ -160,7 +160,8 @@ jobs:
Write-Host "📄 验证文件:"
if (Test-Path libcore/bin) {
Get-ChildItem libcore/bin -ErrorAction SilentlyContinue | Format-Table Name, Length
}\n\n - name: Setup Flutter\n uses: subosito/flutter-action@v2\n with:\n flutter-version: '3.24.5'\n channel: 'stable'
}
\n\n - name: Setup Flutter\n uses: subosito/flutter-action@v2\n with:\n flutter-version: '3.24.5'\n channel: 'stable'
- name: Enable Windows desktop
run: flutter config --enable-windows-desktop