From 1cea8c6f0c6ee484becbefc85ef08379b8cbc740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Sim=C3=B5es?= Date: Wed, 25 Feb 2026 14:48:31 -0500 Subject: [PATCH] e2e: don't upload artifacts to s3 in e2e pipeline (#9546) --- .github/workflows/e2e-detox-pr.yml | 4 +--- fastlane/Fastfile | 13 ++++++++----- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/e2e-detox-pr.yml b/.github/workflows/e2e-detox-pr.yml index 63554fa78..14b68707e 100644 --- a/.github/workflows/e2e-detox-pr.yml +++ b/.github/workflows/e2e-detox-pr.yml @@ -68,10 +68,8 @@ jobs: - name: Build iOS Simulator env: TAG: "${{ github.event.pull_request.head.sha }}" - AWS_ACCESS_KEY_ID: "${{ secrets.MM_MOBILE_BETA_AWS_ACCESS_KEY_ID }}" - AWS_SECRET_ACCESS_KEY: "${{ secrets.MM_MOBILE_BETA_AWS_SECRET_ACCESS_KEY }}" GITHUB_TOKEN: "${{ secrets.MM_MOBILE_GITHUB_TOKEN }}" - run: bundle exec fastlane ios simulator --env ios.simulator + run: bundle exec fastlane ios simulator --env ios.simulator skip_upload_to_s3_bucket:true working-directory: ./fastlane - name: Upload iOS Simulator Build diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 6b1db413a..ab45e2a8a 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -438,7 +438,8 @@ platform :ios do ) end - lane :simulator do + lane :simulator do |options| + skip_upload_to_s3_bucket = options[:skip_upload_to_s3_bucket] == true UI.success('Building iOS app for simulator') # Detect the host architecture @@ -461,10 +462,12 @@ platform :ios do output_file: output_file, ) - upload_file_to_s3({ - :os_type => "ios", - :file => output_file - }) + unless skip_upload_to_s3_bucket + upload_file_to_s3({ + :os_type => "ios", + :file => output_file + }) + end end desc 'Upload artifacts to S3'