diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 78a8c03d08..f400b2ee7d 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -50,7 +50,14 @@ platform :android do desc "Build external and release APKs" lane :build do |options| - gradle(task: 'clean') + gradle(task: 'clean') # TODO: remove after fully moving from old CI + + launched_from_github_action = options[:launched_from_github_action] || false # TODO: remove after fully moving from old CI + if launched_from_github_action + FileUtils.cp("../ci_resources/build_ci_gradle.properties", "../gradle.properties") + puts File.read("../gradle.properties") + end + gradle( task: "bundle", build_type: "Release",