test 38
Some checks failed
Deploy Flutter to Firebase (Mac) / deploy-android (push) Failing after 15s

This commit is contained in:
Van Leemput Dayron
2025-12-15 00:56:12 +01:00
parent a49aa198f4
commit 5b21fb12e3

View File

@@ -23,17 +23,17 @@ jobs:
echo "${{ secrets.FIREBASE_CREDENTIALS }}" > ./android/firebase_credentials.json
echo "${{ secrets.ANDROID_KEY_PROPERTIES }}" > ./android/key.properties
- name: Lancer Fastlane (Compatibilité Bundler 2.x)
- name: Lancer Fastlane (Patch kconv)
working-directory: ./android
env:
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
FIREBASE_ANDROID_APP_ID: ${{ secrets.FIREBASE_ANDROID_APP_ID }}
run: |
# 1. Activation de Ruby Homebrew
# 1. Activation Ruby
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
echo "✅ Ruby actif : $(ruby -v)"
# 2. Configuration Environnement Local
# 2. Config Locale
export GEM_HOME=$PWD/vendor/bundle
export GEM_PATH=$PWD/vendor/bundle
export PATH=$GEM_HOME/bin:$PATH
@@ -41,10 +41,11 @@ jobs:
# 3. Nettoyage
rm -rf vendor Gemfile.lock .bundle
# --- 📜 GEMFILE 📜 ---
# --- 📜 GEMFILE BLINDÉ 📜 ---
echo "source 'https://rubygems.org'" > Gemfile
echo "gem 'fastlane', '>= 2.210.0'" >> Gemfile
# Patchs pour Ruby 3.4+
# --- 🚑 LISTE DES DISPARUS DE RUBY 3.4 🚑 ---
echo "gem 'abbrev'" >> Gemfile
echo "gem 'ostruct'" >> Gemfile
echo "gem 'mutex_m'" >> Gemfile
@@ -53,15 +54,16 @@ jobs:
echo "gem 'bigdecimal'" >> Gemfile
echo "gem 'drb'" >> Gemfile
# LE NOUVEAU COUPABLE :
echo "gem 'kconv'" >> Gemfile
echo "📝 Gemfile généré."
# 4. INSTALLATION SPÉCIFIQUE
echo "⬇️ Installation de Bundler 2.7.2 (Pour compatibilité Fastlane)..."
# On installe précisément la version que Fastlane réclame (< 3.0.0)
gem install bundler -v 2.7.2 --force
# 4. INSTALLATION
echo "⬇️ Installation Bundler 2.7.2..."
gem install bundler -v 2.7.2 --force --no-document
echo "📦 Installation des gems..."
# La syntaxe '_2.7.2_' force l'utilisation de CETTE version précise
bundle _2.7.2_ update --jobs 4
echo "🚀 Lancement..."