debug(ci): 添加 Windows 构建目录诊断输出
Deploy / build-windows (push) Failing after 30s
Deploy / build-linux-web (push) Successful in 1m2s
Deploy / build-macos (push) Failing after 14m5s
Deploy / release-deploy (push) Has been skipped

This commit is contained in:
wangjia
2026-06-01 01:13:48 +08:00
parent 0af92e1732
commit b3f5a0f083
+5
View File
@@ -16,7 +16,12 @@ sed -i "s/^version:.*/version: ${VER}+1/" client/pubspec.yaml
# Build Flutter Windows
cd client
echo "==> pwd: $(pwd)"
echo "==> windows/ before create: $(test -d windows && echo EXISTS || echo MISSING)"
flutter create --platforms=windows . --project-name jiu_client
echo "==> windows/ after create: $(test -d windows && echo EXISTS || echo MISSING)"
echo "==> windows/CMakeLists.txt: $(test -f windows/CMakeLists.txt && echo EXISTS || echo MISSING)"
ls windows/ 2>&1 || echo "(ls failed)"
flutter build windows --release \
"--dart-define=BASE_URL=https://jiu.51yanmei.com" \
"--dart-define=PUBLIC_URL=https://jiu.51yanmei.com" \