fix: fastlane

This commit is contained in:
mso7nueh
2025-08-06 15:38:21 +03:00
parent b051a588e0
commit 108e067b11
3 changed files with 42 additions and 3 deletions

View File

@@ -51,7 +51,24 @@ jobs:
flutter pub run build_runner build --delete-conflicting-outputs
cd ios
pod update
fastlane beta
# Install/update fastlane
bundle install
# Retry logic for fastlane upload
for i in {1..3}; do
echo "Attempt $i of 3 for fastlane upload"
if bundle exec fastlane beta; then
echo "Fastlane upload successful on attempt $i"
break
else
echo "Fastlane upload failed on attempt $i"
if [ $i -eq 3 ]; then
echo "All attempts failed"
exit 1
fi
echo "Waiting 30 seconds before retry..."
sleep 30
fi
done
env:
LANG: en_US.UTF-8
LC_ALL: en_US.UTF-8