File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments