Skip to content

Commit df5d660

Browse files
committed
Merge remote-tracking branch 'origin/main'
1 parent 685d24c commit df5d660

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -78,24 +78,10 @@ jobs:
7878
cp src/MLXSharp.Native/runtimes/osx-arm64/native/libmlxsharp.dylib artifacts/native/
7979
8080
- name: Pack MLXSharp library
81-
run: |
82-
set -euo pipefail
83-
: "${GITHUB_WORKSPACE:=${PWD}}"
84-
export MLXSharpMacNativeBinary="${GITHUB_WORKSPACE}/native/build/libmlxsharp.dylib"
85-
echo "Packing MLXSharp with native binary: ${MLXSharpMacNativeBinary}"
86-
dotnet pack src/MLXSharp/MLXSharp.csproj \
87-
--configuration Release \
88-
--output artifacts/packages
81+
run: dotnet pack src/MLXSharp/MLXSharp.csproj --configuration Release --output artifacts/packages -p:MLXSharpMacNativeBinary=$GITHUB_WORKSPACE/native/build/libmlxsharp.dylib
8982

9083
- name: Pack MLXSharp.SemanticKernel library
91-
run: |
92-
set -euo pipefail
93-
: "${GITHUB_WORKSPACE:=${PWD}}"
94-
export MLXSharpMacNativeBinary="${GITHUB_WORKSPACE}/native/build/libmlxsharp.dylib"
95-
echo "Packing MLXSharp.SemanticKernel with native binary: ${MLXSharpMacNativeBinary}"
96-
dotnet pack src/MLXSharp.SemanticKernel/MLXSharp.SemanticKernel.csproj \
97-
--configuration Release \
98-
--output artifacts/packages
84+
run: dotnet pack src/MLXSharp.SemanticKernel/MLXSharp.SemanticKernel.csproj --configuration Release --output artifacts/packages -p:MLXSharpMacNativeBinary=$GITHUB_WORKSPACE/native/build/libmlxsharp.dylib
9985

10086
- name: Verify package contains native libraries
10187
run: |

0 commit comments

Comments
 (0)