test 38
Some checks failed
Deploy Flutter to Firebase (Mac) / deploy-android (push) Failing after 15s
Some checks failed
Deploy Flutter to Firebase (Mac) / deploy-android (push) Failing after 15s
This commit is contained in:
@@ -23,17 +23,17 @@ jobs:
|
|||||||
echo "${{ secrets.FIREBASE_CREDENTIALS }}" > ./android/firebase_credentials.json
|
echo "${{ secrets.FIREBASE_CREDENTIALS }}" > ./android/firebase_credentials.json
|
||||||
echo "${{ secrets.ANDROID_KEY_PROPERTIES }}" > ./android/key.properties
|
echo "${{ secrets.ANDROID_KEY_PROPERTIES }}" > ./android/key.properties
|
||||||
|
|
||||||
- name: Lancer Fastlane (Compatibilité Bundler 2.x)
|
- name: Lancer Fastlane (Patch kconv)
|
||||||
working-directory: ./android
|
working-directory: ./android
|
||||||
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 }}
|
||||||
run: |
|
run: |
|
||||||
# 1. Activation de Ruby Homebrew
|
# 1. Activation Ruby
|
||||||
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
|
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
|
||||||
echo "✅ Ruby actif : $(ruby -v)"
|
echo "✅ Ruby actif : $(ruby -v)"
|
||||||
|
|
||||||
# 2. Configuration Environnement Local
|
# 2. Config Locale
|
||||||
export GEM_HOME=$PWD/vendor/bundle
|
export GEM_HOME=$PWD/vendor/bundle
|
||||||
export GEM_PATH=$PWD/vendor/bundle
|
export GEM_PATH=$PWD/vendor/bundle
|
||||||
export PATH=$GEM_HOME/bin:$PATH
|
export PATH=$GEM_HOME/bin:$PATH
|
||||||
@@ -41,10 +41,11 @@ jobs:
|
|||||||
# 3. Nettoyage
|
# 3. Nettoyage
|
||||||
rm -rf vendor Gemfile.lock .bundle
|
rm -rf vendor Gemfile.lock .bundle
|
||||||
|
|
||||||
# --- 📜 GEMFILE 📜 ---
|
# --- 📜 GEMFILE BLINDÉ 📜 ---
|
||||||
echo "source 'https://rubygems.org'" > Gemfile
|
echo "source 'https://rubygems.org'" > Gemfile
|
||||||
echo "gem 'fastlane', '>= 2.210.0'" >> 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 'abbrev'" >> Gemfile
|
||||||
echo "gem 'ostruct'" >> Gemfile
|
echo "gem 'ostruct'" >> Gemfile
|
||||||
echo "gem 'mutex_m'" >> Gemfile
|
echo "gem 'mutex_m'" >> Gemfile
|
||||||
@@ -53,15 +54,16 @@ jobs:
|
|||||||
echo "gem 'bigdecimal'" >> Gemfile
|
echo "gem 'bigdecimal'" >> Gemfile
|
||||||
echo "gem 'drb'" >> Gemfile
|
echo "gem 'drb'" >> Gemfile
|
||||||
|
|
||||||
|
# LE NOUVEAU COUPABLE :
|
||||||
|
echo "gem 'kconv'" >> Gemfile
|
||||||
|
|
||||||
echo "📝 Gemfile généré."
|
echo "📝 Gemfile généré."
|
||||||
|
|
||||||
# 4. INSTALLATION SPÉCIFIQUE
|
# 4. INSTALLATION
|
||||||
echo "⬇️ Installation de Bundler 2.7.2 (Pour compatibilité Fastlane)..."
|
echo "⬇️ Installation Bundler 2.7.2..."
|
||||||
# On installe précisément la version que Fastlane réclame (< 3.0.0)
|
gem install bundler -v 2.7.2 --force --no-document
|
||||||
gem install bundler -v 2.7.2 --force
|
|
||||||
|
|
||||||
echo "📦 Installation des gems..."
|
echo "📦 Installation des gems..."
|
||||||
# La syntaxe '_2.7.2_' force l'utilisation de CETTE version précise
|
|
||||||
bundle _2.7.2_ update --jobs 4
|
bundle _2.7.2_ update --jobs 4
|
||||||
|
|
||||||
echo "🚀 Lancement..."
|
echo "🚀 Lancement..."
|
||||||
|
|||||||
Reference in New Issue
Block a user