From b86f9a6711cf452b8e8da3d183703ba81aedee16 Mon Sep 17 00:00:00 2001 From: Alexey Alter-Pesotskiy Date: Tue, 7 Nov 2023 15:51:28 +0000 Subject: [PATCH] Don't do retries on record --- fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 744eafa0..fe872cd0 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -140,7 +140,7 @@ lane :test_ui do |options| devices: options[:device], build_for_testing: options[:build_for_testing], skip_build: options[:skip_build], - number_of_retries: 1, + number_of_retries: options[:record].to_s.empty? ? 1 : nil, xcargs: buildcache_xcargs, fail_build: options[:record].to_s.empty? )