From a03f2447fae74ca88aa4fa6c962bbf695de99e34 Mon Sep 17 00:00:00 2001 From: Juster Zhu Date: Tue, 21 Nov 2023 22:32:53 +0800 Subject: [PATCH 1/2] Update AbstractBootstrap.cs --- src/c#/GeneralUpdate.Core/Bootstrap/AbstractBootstrap.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/c#/GeneralUpdate.Core/Bootstrap/AbstractBootstrap.cs b/src/c#/GeneralUpdate.Core/Bootstrap/AbstractBootstrap.cs index d340d6bf..bb5a531d 100644 --- a/src/c#/GeneralUpdate.Core/Bootstrap/AbstractBootstrap.cs +++ b/src/c#/GeneralUpdate.Core/Bootstrap/AbstractBootstrap.cs @@ -94,10 +94,7 @@ protected IStrategy InitStrategy() return _strategy; } - protected string GetPlatform() - { - return _strategy.GetPlatform(); - } + protected string GetPlatform()=> _strategy.GetPlatform(); protected IStrategy ExecuteStrategy() { From fd8e1f9df45642cc2aa24fa2b8a30a009f5121f2 Mon Sep 17 00:00:00 2001 From: Juster Zhu Date: Wed, 22 Nov 2023 20:51:57 +0800 Subject: [PATCH 2/2] Update dotnet-ci.yaml --- .github/workflows/dotnet-ci.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-ci.yaml b/.github/workflows/dotnet-ci.yaml index acc1d893..3e3c2298 100644 --- a/.github/workflows/dotnet-ci.yaml +++ b/.github/workflows/dotnet-ci.yaml @@ -11,8 +11,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v3 with: - dotnet-version: '8.0.x' - dotnet-quality: 'preview' + dotnet-version: '7.0.x' - name: Install .NET MAUI run: dotnet workload install maui - name: Restore dependencies