Fix: Replace upload-artifact action in build-debug.yml with simple file copy
Build Debug / Build Android Debug APK (push) Successful in 3m53s
Build UUVPN / Build Android APK (push) Successful in 2m48s
Build UUVPN / Cleanup old artifacts (push) Failing after 1s
Build Debug / Build iOS Debug App (push) Has been cancelled
Build UUVPN / Build iOS IPA (push) Has been cancelled
Build UUVPN / Create GitHub Release (push) Has been cancelled
Build UUVPN / Upload to TestFlight (push) Has been cancelled
Build UUVPN / Send Notification (push) Has been cancelled

This commit is contained in:
2026-07-04 14:36:29 +08:00
parent 6bbbba0343
commit 5eaa8c2b49
2 changed files with 16 additions and 6 deletions
+12 -6
View File
@@ -109,12 +109,18 @@ jobs:
cd Android-kotlin-Code
./gradlew app:assembleDebug --stacktrace
- name: Upload Android Debug APK
uses: actions/upload-artifact@v4
with:
name: android-debug-apk
path: Android-kotlin-Code/app/build/outputs/apk/**/*.apk
retention-days: 7
- name: List APK files
run: |
echo "Listing APK files..."
find Android-kotlin-Code/app/build/outputs/apk -name "*.apk" -type f || echo "No APK files found"
ls -la Android-kotlin-Code/app/build/outputs/apk/ || true
- name: Copy APK to artifacts
run: |
mkdir -p /tmp/artifacts
find Android-kotlin-Code/app/build/outputs/apk -name "*.apk" -type f -exec cp {} /tmp/artifacts/ \;
ls -la /tmp/artifacts/
echo "APK files copied to /tmp/artifacts"
# ==================== iOS Debug 构建 ====================
build-ios-debug: