Skip to content

Commit 6ce22f8

Browse files
authored
Update nuget extraction path for iOS xcframework (microsoft#792)
* Update nuget extraction path for iOS xcframework * Update nuget extraction path for iOS xcframework
1 parent 8b5354f commit 6ce22f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tools/ci_build/extract_nuget_files.ps1

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,11 @@ Foreach-Object {
4545
}
4646

4747
# process iOS xcframework
48-
$xcframeworks = Get-ChildItem $Env:BUILD_BINARIESDIRECTORY\nuget-artifacts -Filter onnxruntime_extensions.xcframework.*.zip
48+
$xcframeworks = Get-ChildItem $artifact_download_dir -Filter onnxruntime_extensions.xcframework.*.zip
4949
if ($xcframeworks.Count -eq 1) {
5050
$xcframework = $xcframeworks[0]
5151
# remove version info from filename and use required filename format
5252
$target_file = "$nuget_sources_dir\onnxruntime_extensions.xcframework.zip"
53-
New-Item -Path $target_dir -ItemType directory
5453

5554
Write-Output "Copy-Item $($xcframework.FullName) $target_file"
5655
Copy-Item $xcframework.FullName $target_file

0 commit comments

Comments
 (0)