Skip to content

Commit

Permalink
fix CI tests and use net8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanPleshkov committed Dec 7, 2023
1 parent 7c632df commit 3c3a67b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageProjectUrl>https://github.com/qdrant/qdrant-dotnet</PackageProjectUrl>
<PackageReleaseNotes>https://github.com/qdrant/qdrant-dotnet/releases</PackageReleaseNotes>
<PackageTags>qdrant, database, vector, search</PackageTags>
<QdrantVersion>v1.7.0</QdrantVersion>
<QdrantVersion>dev</QdrantVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
set -euo pipefail
dotnet run --project build -- "$@"
dotnet run --project build --framework "net8.0" -- "$@"
2 changes: 1 addition & 1 deletion build/Build.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<OutputType>Exe</OutputType>
Expand Down
2 changes: 1 addition & 1 deletion build/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c3a67b

Please sign in to comment.