Add Cosine SimilarityMetricType #161
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# TODO: Test against latest previews too. This currently doesn't work because preview releases don't publish | |
# a milvus-standalone-docker-compose.yml | |
milvus_version: [v2.3.10] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
fetch-depth: 0 | |
- name: Setup .NET SDKs | |
uses: actions/setup-dotnet@v3 | |
- name: Test | |
run: dotnet test --logger "GitHubActions;report-warnings=false" | |
- name: Pack | |
run: dotnet pack -c Release -o Artifacts | |
- name: Upload artifacts (nupkg) | |
uses: actions/upload-artifact@v3 | |
with: | |
name: nupkgs | |
path: | | |
Artifacts/*.nupkg | |
Artifacts/*.snupkg | |