feat: pass args on android cd
This commit is contained in:
		
							parent
							
								
									9e56b4127e
								
							
						
					
					
						commit
						fea0c153d4
					
				@ -18,7 +18,8 @@ module Fastlane
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        # Build the Android App Bundle
 | 
					        # Build the Android App Bundle
 | 
				
			||||||
        other_action.flutter_build(
 | 
					        other_action.flutter_build(
 | 
				
			||||||
          build: 'appbundle'
 | 
					          build: 'appbundle',
 | 
				
			||||||
 | 
					          build_args: params[:build_args]
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        UI.message("👉🏼 App built")
 | 
					        UI.message("👉🏼 App built")
 | 
				
			||||||
@ -61,7 +62,13 @@ module Fastlane
 | 
				
			|||||||
          FastlaneCore::ConfigItem.new(key: :beta_type,
 | 
					          FastlaneCore::ConfigItem.new(key: :beta_type,
 | 
				
			||||||
            env_name: "ANDROID_CD_TEST_TYPE",
 | 
					            env_name: "ANDROID_CD_TEST_TYPE",
 | 
				
			||||||
            optional: false,
 | 
					            optional: false,
 | 
				
			||||||
            description: "Type of test (production, beta, alpha, internal)")
 | 
					            description: "Type of test (production, beta, alpha, internal)"),
 | 
				
			||||||
 | 
					          FastlaneCore::ConfigItem.new(
 | 
				
			||||||
 | 
					            key: :build_args,
 | 
				
			||||||
 | 
					            description: 'An array of extra arguments for "flutter build"',
 | 
				
			||||||
 | 
					            optional: true,
 | 
				
			||||||
 | 
					            type: Array
 | 
				
			||||||
 | 
					          )
 | 
				
			||||||
        ]
 | 
					        ]
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user