From 4a92d42e947aecc3f4f40eeb69a6a5e4afc97997 Mon Sep 17 00:00:00 2001 From: rachguo Date: Wed, 12 Jul 2023 16:57:06 -0700 Subject: [PATCH] try listing artifacts --- tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml b/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml index f3fdb0b..fde6826 100644 --- a/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml +++ b/tools/ci_build/github/mac-ios-swift-packaging-pipeline.yml @@ -165,7 +165,9 @@ jobs: - script: | set -e -x - shasum -a 256 "$(Build.ArtifactStagingDirectory)/pod-archive-onnxruntime-c-${ORT_POD_VERSION}.zip" + ARTIFACTS_LIST=${ls -R "$(Build.ArtifactStagingDirectory)"} + POD_ARCHIVE=${echo "${ARTIFACTS_LIST}" | cut -d$'\n' -f5} + shasum -a 256 "${POD_ARCHIVE}" displayName: "Print ORT iOS Pod checksum"