diff --git a/.gitea/workflows/deploy-android.yaml b/.gitea/workflows/deploy-android.yaml index e991537..1452929 100644 --- a/.gitea/workflows/deploy-android.yaml +++ b/.gitea/workflows/deploy-android.yaml @@ -1,7 +1,7 @@ name: Deploy Flutter to Firebase on: push: - branches: release + branches: release # Vous avez changé la branche ici, c'est noté jobs: deploy-android: @@ -16,7 +16,6 @@ jobs: distribution: 'temurin' java-version: '17' - # --- AJOUT INDISPENSABLE : INSTALLER LE SDK ANDROID --- - name: Setup Android SDK uses: android-actions/setup-android@v3 @@ -24,9 +23,8 @@ jobs: uses: subosito/flutter-action@v2 with: channel: 'stable' - cache: false # On garde le cache désactivé pour éviter le timeout + cache: false - # --- AJOUT CONSEILLÉ : ACCEPTER LES LICENCES --- - name: Accept Android Licenses run: yes | flutter doctor --android-licenses || true @@ -50,6 +48,8 @@ jobs: env: ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }} FIREBASE_ANDROID_APP_ID: ${{ secrets.FIREBASE_ANDROID_APP_ID }} + # --- C'EST ICI LA CORRECTION CRITIQUE POUR LA MÉMOIRE --- + GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx1536m" run: | bundle install bundle exec fastlane deploy_firebase \ No newline at end of file