Fix: LFS check should not fail the build
Build Debug / Build Android Debug APK (push) Successful in 5m10s
Build iOS / Build iOS IPA (push) Successful in 1m10s
Build UUVPN / Build Android APK (push) Has been skipped
Build UUVPN / Build iOS IPA (push) Has been skipped
Build UUVPN / Create GitHub Release (push) Has been skipped
Build UUVPN / Send Notification (push) Successful in 0s
Build Debug / Build iOS Debug App (push) Has been cancelled

This commit is contained in:
2026-07-05 03:11:08 +08:00
parent 52ac80a037
commit 470c2eca39
+11 -3
View File
@@ -87,18 +87,26 @@ jobs:
echo "========================================"
echo "Checking LFS files..."
echo "========================================"
# 列出 Libbox.xcframework 目录内容
echo "Libbox.xcframework contents:"
ls -la iOS-SwiftUI-Code/uuvpn/Libbox.xcframework/ 2>/dev/null || echo "Directory not found or empty"
# 检查关键文件
if [ -f "iOS-SwiftUI-Code/uuvpn/Libbox.xcframework/ios-arm64/Libbox.framework/Libbox" ]; then
echo "lfs_ready=true" >> $GITHUB_OUTPUT
echo "✅ LFS files downloaded successfully"
file iOS-SwiftUI-Code/uuvpn/Libbox.xcframework/ios-arm64/Libbox.framework/Libbox
file iOS-SwiftUI-Code/uuvpn/Libbox.xcframework/ios-arm64/Libbox.framework/Libbox 2>/dev/null || true
else
echo "lfs_ready=false" >> $GITHUB_OUTPUT
echo "❌ LFS files not available"
echo ""
echo "Libbox.xcframework contents:"
find iOS-SwiftUI-Code/uuvpn/Libbox.xcframework -type f 2>/dev/null | head -20
echo "This means Gitea LFS is not properly configured."
fi
# 不让 find 命令导致失败
exit 0
- name: Pull Docker-OSX image
if: ${{ steps.check_lfs.outputs.lfs_ready == 'true' }}
run: |