File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 6868 - name : Build iOS Simulator
6969 env :
7070 TAG : " ${{ github.event.pull_request.head.sha }}"
71- AWS_ACCESS_KEY_ID : " ${{ secrets.MM_MOBILE_BETA_AWS_ACCESS_KEY_ID }}"
72- AWS_SECRET_ACCESS_KEY : " ${{ secrets.MM_MOBILE_BETA_AWS_SECRET_ACCESS_KEY }}"
7371 GITHUB_TOKEN : " ${{ secrets.MM_MOBILE_GITHUB_TOKEN }}"
74- run : bundle exec fastlane ios simulator --env ios.simulator
72+ run : bundle exec fastlane ios simulator --env ios.simulator skip_upload_to_s3_bucket:true
7573 working-directory : ./fastlane
7674
7775 - name : Upload iOS Simulator Build
Original file line number Diff line number Diff line change @@ -438,7 +438,8 @@ platform :ios do
438438 )
439439 end
440440
441- lane :simulator do
441+ lane :simulator do |options |
442+ skip_upload_to_s3_bucket = options [ :skip_upload_to_s3_bucket ] == true
442443 UI . success ( 'Building iOS app for simulator' )
443444
444445 # Detect the host architecture
@@ -461,10 +462,12 @@ platform :ios do
461462 output_file : output_file ,
462463 )
463464
464- upload_file_to_s3 ( {
465- :os_type => "ios" ,
466- :file => output_file
467- } )
465+ unless skip_upload_to_s3_bucket
466+ upload_file_to_s3 ( {
467+ :os_type => "ios" ,
468+ :file => output_file
469+ } )
470+ end
468471 end
469472
470473 desc 'Upload artifacts to S3'
You can’t perform that action at this time.
0 commit comments