File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -96,13 +96,21 @@ jobs:
9696 missing=0
9797 for package in "${packages[@]}"; do
9898 echo "Inspecting ${package}"
99- if unzip -l "${package}" | grep -q "runtimes/osx-arm64/native/libmlxsharp.dylib"; then
100- echo " ✓ Native library found"
101- else
102- echo " ✗ Native library NOT found"
103- unzip -l "${package}"
104- missing=1
105- fi
99+ filename=$(basename "${package}")
100+ case "${filename}" in
101+ MLXSharp.*.nupkg)
102+ if unzip -l "${package}" | grep -q "runtimes/osx-arm64/native/libmlxsharp.dylib"; then
103+ echo " ✓ Native library found"
104+ else
105+ echo " ✗ Native library NOT found"
106+ unzip -l "${package}"
107+ missing=1
108+ fi
109+ ;;
110+ *)
111+ echo " ↷ Skipping native check for ${filename}"
112+ ;;
113+ esac
106114 done
107115
108116 if [ $missing -ne 0 ]; then
You can’t perform that action at this time.
0 commit comments