From 3c3a67bf860c451c5bfdb055028bfe595b94e6ab Mon Sep 17 00:00:00 2001 From: Ivan Pleshkov Date: Thu, 7 Dec 2023 15:34:22 +0000 Subject: [PATCH] fix CI tests and use net8.0 --- Directory.Build.props | 2 +- build.sh | 2 +- build/Build.csproj | 2 +- build/Main.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 928880c..7d3bd5e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -9,7 +9,7 @@ https://github.com/qdrant/qdrant-dotnet https://github.com/qdrant/qdrant-dotnet/releases qdrant, database, vector, search - v1.7.0 + dev diff --git a/build.sh b/build.sh index b8feb2c..57f97b1 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash set -euo pipefail -dotnet run --project build -- "$@" +dotnet run --project build --framework "net8.0" -- "$@" diff --git a/build/Build.csproj b/build/Build.csproj index 18ad72c..80d34d4 100644 --- a/build/Build.csproj +++ b/build/Build.csproj @@ -1,7 +1,7 @@ - net6.0 + net6.0;net8.0 enable enable Exe diff --git a/build/Main.cs b/build/Main.cs index bdb1809..fc8f2d1 100644 --- a/build/Main.cs +++ b/build/Main.cs @@ -61,7 +61,7 @@ Directory.CreateDirectory(protosTagDir); Console.WriteLine($"Downloading protos for tag {qdrantVersion} to {protosTagDir}"); - var url = "https://api.github.com/repos/qdrant/qdrant/tarball/v1.7.0"; + var url = $"https://api.github.com/repos/qdrant/qdrant/tarball/refs/tags/{qdrantVersion}"; var protoFileRegex = new Regex(".*?lib/api/src/grpc/proto/.*?.proto"); var privateProtoFileRegex = new Regex("(?:.*?internal.*?|raft_service|health_check).proto"); var client = new HttpClient