diff --git a/bitrise.yml b/bitrise.yml index f89184ba66a1..aca582980a81 100644 --- a/bitrise.yml +++ b/bitrise.yml @@ -102,13 +102,13 @@ workflows: "$BITRISE_SOURCE_DIR/firefox-ios/Client/" \ "$BITRISE_SOURCE_DIR/xcodebuild.log" - deploy-to-bitrise-io@2: - run_if: '{{getenv "RUN_UI_TESTS" | eq "Run_UI_Tests"}}' + run_if: '{{getenv "RUN_UI_TESTS" | eq "Run_UI_Tests" | and (getenv "BITRISE_XCRESULT_PATH" | ne "")}}' inputs: - deploy_path: "${BITRISE_SOURCE_DIR}/DerivedData.zip" - pipeline_intermediate_files: |- $BITRISE_XCRESULT_PATH:BITRISE_XCRESULT_PATH ${BITRISE_SOURCE_DIR}/DerivedData.zip:DERIVED_DATA_DIR - is_always_run: false + is_always_run: true - script@1.1: run_if: '{{getenv "RUN_UI_TESTS" | eq "Run_UI_Tests"}}' title: Run Danger 2