Fix: Use hardcoded token for LFS authentication and add verbose output
Build Debug / Build Android Debug APK (push) Successful in 4m17s
Build iOS / Build iOS IPA (push) Successful in 33s
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
Build Debug / Build Android Debug APK (push) Successful in 4m17s
Build iOS / Build iOS IPA (push) Successful in 33s
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:
@@ -72,15 +72,22 @@ jobs:
|
|||||||
- name: Setup Git LFS
|
- name: Setup Git LFS
|
||||||
run: |
|
run: |
|
||||||
git lfs install
|
git lfs install
|
||||||
# Try LFS pull with token if available
|
|
||||||
if [ -n "${{ secrets.GITEA_TOKEN }}" ]; then
|
# 配置 LFS 认证 - 使用 token 直接认证
|
||||||
git config --global lfs.url "https://admin:${{ secrets.GITEA_TOKEN }}@git.viaeon.com/admin/UUVPN.git/info/lfs"
|
git config --global lfs.url "https://admin:73ffc0f4391a26bb327fbed379d63b5a087e5f10@git.viaeon.com/admin/UUVPN.git/info/lfs"
|
||||||
fi
|
|
||||||
git lfs pull 2>&1 || echo "LFS pull failed"
|
echo "Attempting LFS pull..."
|
||||||
|
git lfs pull --verbose 2>&1 || echo "LFS pull failed"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Checking Libbox.xcframework..."
|
echo "Checking Libbox.xcframework..."
|
||||||
ls -la iOS-SwiftUI-Code/uuvpn/Libbox.xcframework/ 2>/dev/null || echo "Libbox.xcframework directory not found"
|
ls -la iOS-SwiftUI-Code/uuvpn/Libbox.xcframework/ 2>/dev/null || echo "Libbox.xcframework directory not found"
|
||||||
|
|
||||||
|
# 检查文件是否是 LFS 指针文件
|
||||||
|
echo ""
|
||||||
|
echo "Checking if files are LFS pointers or actual binaries..."
|
||||||
|
head -5 iOS-SwiftUI-Code/uuvpn/Libbox.xcframework/ios-arm64/Libbox.framework/Libbox 2>/dev/null || echo "Cannot read file"
|
||||||
|
|
||||||
- name: Check if Libbox framework exists
|
- name: Check if Libbox framework exists
|
||||||
id: check_lfs
|
id: check_lfs
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user