From 271184daab064bf1617870e248d5220f6e98133c Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Tue, 15 Jul 2025 16:48:24 -0700 Subject: [PATCH] update --- .pipelines/templates/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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).