e2e: don't upload artifacts to s3 in e2e pipeline (#9546)
This commit is contained in:
parent
c3f83f9028
commit
1cea8c6f0c
2 changed files with 9 additions and 8 deletions
4
.github/workflows/e2e-detox-pr.yml
vendored
4
.github/workflows/e2e-detox-pr.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue