forked from eatvio/eatvio_app
fix: fastlane
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user