Skip to content

Commit

Permalink
Update nuget extraction path for iOS xcframework (#792)
Browse files Browse the repository at this point in the history
* Update nuget extraction path for iOS xcframework

* Update nuget extraction path for iOS xcframework
  • Loading branch information
vraspar authored and prathikr committed Aug 16, 2024
1 parent b27fbbe commit cb47d2c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/ci_build/extract_nuget_files.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb47d2c

Please sign in to comment.