[mobile] Fix for mac-ios-packaging pipeline (#22879)

### Description
Appends variant name to the Browserstack artifacts that are published so
that we don't run into the error:
"##[error]Artifact browserstack_test_artifacts already exists for build
609095."

[Working pipeline
run](https://aiinfra.visualstudio.com/Lotus/_build/results?buildId=609503&view=results)


### Motivation and Context
- onnxruntime-ios-packaging-pipeline has been failing
This commit is contained in:
Caroline Zhu 2024-11-19 09:27:51 -08:00 committed by GitHub
parent 56e4fda8a8
commit 0d00fc3130
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -161,7 +161,7 @@ stages:
# 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"
artifact: "browserstack_test_artifacts_${{ lower(parameters.packageVariant) }}"
displayName: "Publish BrowserStack test artifacts"
- script: |