fix: Configure Gradle JVM memory with GRADLE_OPTS and update workflow comments.
Some checks failed
Deploy Flutter to Firebase / deploy-android (push) Failing after 14m55s
Some checks failed
Deploy Flutter to Firebase / deploy-android (push) Failing after 14m55s
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user