From cb47d2c32284ab7ece0f423d13b1922f6de05e88 Mon Sep 17 00:00:00 2001 From: vraspar Date: Thu, 15 Aug 2024 17:34:40 -0700 Subject: [PATCH] Update nuget extraction path for iOS xcframework (#792) * Update nuget extraction path for iOS xcframework * Update nuget extraction path for iOS xcframework --- tools/ci_build/extract_nuget_files.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/ci_build/extract_nuget_files.ps1 b/tools/ci_build/extract_nuget_files.ps1 index 21257833c..90b994932 100644 --- a/tools/ci_build/extract_nuget_files.ps1 +++ b/tools/ci_build/extract_nuget_files.ps1 @@ -45,12 +45,11 @@ Foreach-Object { } # process iOS xcframework -$xcframeworks = Get-ChildItem $Env:BUILD_BINARIESDIRECTORY\nuget-artifacts -Filter onnxruntime_extensions.xcframework.*.zip +$xcframeworks = Get-ChildItem $artifact_download_dir -Filter onnxruntime_extensions.xcframework.*.zip if ($xcframeworks.Count -eq 1) { $xcframework = $xcframeworks[0] # remove version info from filename and use required filename format $target_file = "$nuget_sources_dir\onnxruntime_extensions.xcframework.zip" - New-Item -Path $target_dir -ItemType directory Write-Output "Copy-Item $($xcframework.FullName) $target_file" Copy-Item $xcframework.FullName $target_file