You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2023/03/16 07:35:21 UTC
[rocketmq-clients] 02/05: Add 3.1.x into dotnet-version of CI pipeline
This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
commit e4b885804dc705fc59fbf39bf4d8e12056f0b78a
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Thu Mar 16 14:16:11 2023 +0800
Add 3.1.x into dotnet-version of CI pipeline
---
.github/workflows/csharp_build.yml | 1 +
csharp/tests/PublishingMessageTest.cs | 2 +-
csharp/tests/tests.csproj | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/csharp_build.yml b/.github/workflows/csharp_build.yml
index 1a37900d..041f41f8 100644
--- a/.github/workflows/csharp_build.yml
+++ b/.github/workflows/csharp_build.yml
@@ -19,6 +19,7 @@ jobs:
6.0.x
7.0.x
8.0.x
+ 3.1.x
- name: Build artifacts
working-directory: ./csharp
run: |
diff --git a/csharp/tests/PublishingMessageTest.cs b/csharp/tests/PublishingMessageTest.cs
index 9f4938c0..c12b9083 100644
--- a/csharp/tests/PublishingMessageTest.cs
+++ b/csharp/tests/PublishingMessageTest.cs
@@ -27,7 +27,7 @@ namespace tests
public class PublishingMessageTest
{
private const string ClientId = "fakeClientId";
- private static readonly Endpoints Endpoints = new("127.0.0.1:8081");
+ private static readonly Endpoints Endpoints = new Endpoints("127.0.0.1:8081");
[TestMethod]
diff --git a/csharp/tests/tests.csproj b/csharp/tests/tests.csproj
index 358b4a12..5268d418 100644
--- a/csharp/tests/tests.csproj
+++ b/csharp/tests/tests.csproj
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <TargetFramework>net5.0</TargetFramework>
+ <TargetFrameworks>netcoreapp3.1;net5.0</TargetFrameworks>
<IsPackable>false</IsPackable>
</PropertyGroup>