diff --git a/.pipelines/templates/main.yml b/.pipelines/templates/main.yml index f793343..497d236 100644 --- a/.pipelines/templates/main.yml +++ b/.pipelines/templates/main.yml @@ -17,11 +17,12 @@ jobs: inputs: artifactFeeds: 'Lotus' - script: | - POD_ARCHIVE=$(find . -name "pod-archive-onnxruntime-objc*.zip") - unzip ${POD_ARCHIVE} -d unzipped - cp -rf unzipped/objectivec/ $(Build.SourcesDirectory)/objectivec/ - workingDirectory: '$(Build.ArtifactStagingDirectory)/$(artifactsName)' - displayName: Copy latest dev version ORT objectivec/ source files + set -e -x + POD_ARCHIVE=$(find . -name "pod-archive-onnxruntime-objc*.zip") + unzip ${POD_ARCHIVE} -d unzipped + cp -rf unzipped/objectivec/ $(Build.SourcesDirectory)/objectivec/ + workingDirectory: '$(Build.ArtifactStagingDirectory)/$(artifactsName)' + displayName: Copy latest dev version ORT objectivec/ source files # copy the pod archive to a path relative to Package.swift and set the env var required by Package.swift to use that. # xcodebuild will implicitly use Package.swift and build/run the .testTarget (tests in swift/onnxTests).