diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index e9ef35c..4952f97 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -15,7 +15,7 @@ jobs: dotnet-version: '6' - name: Build CandidateSearch run: | - dotnet publish CandidateSearch.sln --runtime osx-arm64 --self-contained --configuration Release + dotnet publish CandidateSearch.sln --runtime osx-arm64 --self-contained --configuration Release -p:PublishSingleFile=true - name: Copy VectorSearch.dll to Release run: | cp dll/macos_arm/VectorSearch.dll bin/Release/net6.0/osx-arm64 diff --git a/.github/workflows/build-ubuntu.yml b/.github/workflows/build-ubuntu.yml index dc92a5f..227b063 100644 --- a/.github/workflows/build-ubuntu.yml +++ b/.github/workflows/build-ubuntu.yml @@ -15,7 +15,7 @@ jobs: dotnet-version: '6' - name: Build CandidateSearch run: | - dotnet publish CandidateSearch.sln --runtime ubuntu.22.04-x64 --self-contained --configuration Release + dotnet publish CandidateSearch.sln --runtime ubuntu.22.04-x64 --self-contained --configuration Release -p:PublishSingleFile=true - name: Copy VectorSearch.dll to Release run: | cp dll/ubuntu_x64/VectorSearch.dll bin/Release/net6.0/ubuntu.22.04-x64