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
|
name: Deploy Flutter to Firebase
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: release
|
branches: release # Vous avez changé la branche ici, c'est noté
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy-android:
|
deploy-android:
|
||||||
@@ -16,7 +16,6 @@ jobs:
|
|||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
|
||||||
# --- AJOUT INDISPENSABLE : INSTALLER LE SDK ANDROID ---
|
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
|
|
||||||
@@ -24,9 +23,8 @@ jobs:
|
|||||||
uses: subosito/flutter-action@v2
|
uses: subosito/flutter-action@v2
|
||||||
with:
|
with:
|
||||||
channel: 'stable'
|
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
|
- name: Accept Android Licenses
|
||||||
run: yes | flutter doctor --android-licenses || true
|
run: yes | flutter doctor --android-licenses || true
|
||||||
|
|
||||||
@@ -50,6 +48,8 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
|
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
|
||||||
FIREBASE_ANDROID_APP_ID: ${{ secrets.FIREBASE_ANDROID_APP_ID }}
|
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: |
|
run: |
|
||||||
bundle install
|
bundle install
|
||||||
bundle exec fastlane deploy_firebase
|
bundle exec fastlane deploy_firebase
|
||||||
Reference in New Issue
Block a user