From 0ee96ab33a5a115c19b459a8c02b96f36fc6d256 Mon Sep 17 00:00:00 2001 From: Changming Sun Date: Tue, 15 Jul 2025 16:56:10 -0700 Subject: [PATCH] update --- .config/tsaoptions.json | 6 +++--- .pipelines/templates/main.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.config/tsaoptions.json b/.config/tsaoptions.json index 00090af..7a1f6b0 100644 --- a/.config/tsaoptions.json +++ b/.config/tsaoptions.json @@ -1,9 +1,9 @@ { - "notificationAliases": ["xiaowuhu@microsoft.com"], + "notificationAliases": ["onnxruntime-org@microsoft.com"], "areaPath": "ONNX Runtime\\Extensions", - "codebaseName": "onnxconverter-common", + "codebaseName": "onnxruntime-swift-package-manager", "instanceUrl": "https://aiinfra.visualstudio.com/", "projectName": "ONNX Runtime", - "ignoreBranchName": true, + "ignoreBranchName": false, "template": "AIINFRA_TSA" } diff --git a/.pipelines/templates/main.yml b/.pipelines/templates/main.yml index dd79078..936b231 100644 --- a/.pipelines/templates/main.yml +++ b/.pipelines/templates/main.yml @@ -27,7 +27,7 @@ jobs: unzip ${POD_ARCHIVE} -d unzipped cp -rf unzipped/objectivec/ $(Build.SourcesDirectory)/objectivec/ # Corrected variable name to match the parameter - workingDirectory: '$(Build.ArtifactStagingDirectory)/$(artifactName)' + workingDirectory: '$(Build.ArtifactStagingDirectory)/${{ parameters.artifactName }}' 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. @@ -36,13 +36,13 @@ jobs: - script: | set -e -x # Corrected variable name to match the parameter - cd "$(Build.ArtifactStagingDirectory)/$(artifactName)" + cd "$(Build.ArtifactStagingDirectory)/${{ parameters.artifactName }}" POD_ARCHIVE=$(find . -name "pod-archive-onnxruntime-c*.zip") - shasum -a 256 "$(Build.ArtifactStagingDirectory)/$(artifactName)/${POD_ARCHIVE}" + shasum -a 256 "$(Build.ArtifactStagingDirectory)/${{ parameters.artifactName }}/${POD_ARCHIVE}" cd "$(Build.SourcesDirectory)" - cp "$(Build.ArtifactStagingDirectory)/$(artifactName)/${POD_ARCHIVE}" swift/ + cp "$(Build.ArtifactStagingDirectory)/${{ parameters.artifactName }}/${POD_ARCHIVE}" swift/ export ORT_POD_LOCAL_PATH="swift/${POD_ARCHIVE}" xcodebuild test -scheme onnxruntime-Package -destination 'platform=iOS Simulator,name=iPhone 14'