From b824cb0973cb286369091231fb3843923626e7af Mon Sep 17 00:00:00 2001 From: robot Date: Sun, 2 Aug 2026 01:01:15 +0000 Subject: [PATCH] fix(ci): replace artifact uploads with warnings (no artifact storage configured) --- .gitea/workflows/ci.yml | 45 ++++++++++++++++------------------------- 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index fa47e5b..f1f5716 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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."