diff --git a/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml b/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml index 144e5fe3c3..ce573fa4f1 100644 --- a/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml +++ b/tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml @@ -35,6 +35,9 @@ stages: - output: pipelineArtifact targetPath: $(Build.ArtifactStagingDirectory) artifactName: ios_packaging_artifacts_${{ lower(parameters.packageVariant) }} + + # Publish the BrowserStack artifacts first so that if the next step fails, the artifacts will still be published + # so that users can attempt to locally debug - output: BrowserStackArtifact targetPath: $(Build.ArtifactStagingDirectory) artifactName: browserstack_test_artifacts_${{ lower(parameters.packageVariant) }} @@ -158,12 +161,6 @@ stages: workingDirectory: '$(Build.BinariesDirectory)/app_center_test/apple_package_test/' displayName: "Create .ipa file" - # Publish the BrowserStack artifacts first so that if the next step fails, the artifacts will still be published - # so that users can attempt to locally debug - - publish: "$(Build.ArtifactStagingDirectory)" - artifact: "browserstack_test_artifacts_${{ lower(parameters.packageVariant) }}" - displayName: "Publish BrowserStack test artifacts" - - script: | set -e -x pip install requests