fix(ci): replace artifact uploads with warnings (no artifact storage configured)
CI / Lint (pull_request) Successful in 19m23s
CI / Test (pull_request) Successful in 19m20s
CI / Build Android (pull_request) Successful in 37m28s
CI / Build iOS (pull_request) Canceled after 0s

This commit is contained in:
robot
2026-08-02 01:01:15 +00:00
parent 85aa6d78c4
commit b824cb0973
+17 -28
View File
@@ -75,13 +75,11 @@ jobs:
if: gitea.ref == 'refs/heads/main' && gitea.event_name == 'push'
run: flutter test --coverage
- name: Upload coverage report
- name: "Note: coverage artifact storage not configured"
if: gitea.ref == 'refs/heads/main' && gitea.event_name == 'push'
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage/lcov.info
retention-days: 14
run: |
echo "WARNING: Gitea Actions artifact storage is not configured."
echo "Coverage report available at: coverage/lcov.info"
# ── Stage 3: Android build ──────────────────────────────────────
@@ -188,21 +186,13 @@ jobs:
echo "=== AAB output ==="
ls -lh build/app/outputs/bundle/release/ || true
- name: Upload APK artifact
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: android-apk
path: build/app/outputs/flutter-apk/app-release.apk
retention-days: 90
- name: Upload AAB artifact
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: android-aab
path: build/app/outputs/bundle/release/app-release.aab
retention-days: 90
- name: "Note: artifact storage not configured"
run: |
echo "WARNING: Gitea Actions artifact storage is not configured on this instance."
echo "Build outputs available in runner workspace:"
echo " APK: build/app/outputs/flutter-apk/app-release.apk"
echo " AAB: build/app/outputs/bundle/release/app-release.aab"
echo "Configure artifact storage in Gitea Actions admin settings to enable uploads."
# ── Stage 3 (parallel): iOS build ───────────────────────────────
@@ -232,10 +222,9 @@ jobs:
- name: Build iOS (release, no-codesign)
run: flutter build ios --release --no-codesign
- name: Upload iOS build artifact
continue-on-error: true
uses: actions/upload-artifact@v4
with:
name: ios-app
path: build/ios/iphoneos/
retention-days: 90
- name: "Note: iOS artifact storage not configured"
run: |
echo "WARNING: Gitea Actions artifact storage is not configured on this instance."
echo "iOS build outputs available in runner workspace:"
echo " build/ios/iphoneos/"
echo "Configure artifact storage in Gitea Actions admin settings to enable uploads."