diff --git a/.github/workflows/itests.yml b/.github/workflows/itests.yml index e5305c7b2..870264f40 100644 --- a/.github/workflows/itests.yml +++ b/.github/workflows/itests.yml @@ -22,13 +22,11 @@ jobs: dotnet-version: ['6.0', '7.0'] include: - dotnet-version: '6.0' - install-3: false display-name: '.NET 6.0' framework: 'net6' prefix: 'net6' install-version: '6.0.x' - dotnet-version: '7.0' - install-3: false display-name: '.NET 7.0' framework: 'net7' prefix: 'net7' diff --git a/test/Dapr.E2E.Test/DaprTestApp.cs b/test/Dapr.E2E.Test/DaprTestApp.cs index 0836056f6..0d89be674 100644 --- a/test/Dapr.E2E.Test/DaprTestApp.cs +++ b/test/Dapr.E2E.Test/DaprTestApp.cs @@ -128,11 +128,7 @@ private static string GetTargetFrameworkName() { var targetFrameworkName = ((TargetFrameworkAttribute)Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(TargetFrameworkAttribute), false).FirstOrDefault()).FrameworkName; string frameworkMoniker; - if (targetFrameworkName == ".NETCoreApp,Version=v5.0") - { - frameworkMoniker = "net5"; - } - else if (targetFrameworkName == ".NETCoreApp,Version=v6.0") + if (targetFrameworkName == ".NETCoreApp,Version=v6.0") { frameworkMoniker = "net6"; }