From a03f2447fae74ca88aa4fa6c962bbf695de99e34 Mon Sep 17 00:00:00 2001 From: Juster Zhu Date: Tue, 21 Nov 2023 22:32:53 +0800 Subject: [PATCH 1/3] 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 d340d6b..bb5a531 100644 --- a/src/c#/GeneralUpdate.Core/Bootstrap/AbstractBootstrap.cs +++ b/src/c#/GeneralUpdate.Core/Bootstrap/AbstractBootstrap.cs @@ -94,10 +94,7 @@ namespace GeneralUpdate.Core.Bootstrap return _strategy; } - protected string GetPlatform() - { - return _strategy.GetPlatform(); - } + protected string GetPlatform()=> _strategy.GetPlatform(); protected IStrategy ExecuteStrategy() { -- Gitee From fd8e1f9df45642cc2aa24fa2b8a30a009f5121f2 Mon Sep 17 00:00:00 2001 From: Juster Zhu Date: Wed, 22 Nov 2023 20:51:57 +0800 Subject: [PATCH 2/3] 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 acc1d89..3e3c229 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 -- Gitee From c60e568029b0f27b37cc3f95afedbe8e08111881 Mon Sep 17 00:00:00 2001 From: Juster Zhu Date: Wed, 22 Nov 2023 21:28:29 +0800 Subject: [PATCH 3/3] remove ios platform --- .github/workflows/dotnet-ci.yaml | 2 +- src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj | 2 +- src/c#/GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnet-ci.yaml b/.github/workflows/dotnet-ci.yaml index 3e3c229..60f54a3 100644 --- a/.github/workflows/dotnet-ci.yaml +++ b/.github/workflows/dotnet-ci.yaml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v1 with: dotnet-version: '7.0.x' - name: Install .NET MAUI diff --git a/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj b/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj index ca0a9ad..8fb2d19 100644 --- a/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj +++ b/src/c#/GeneralUpdate.Maui.OSS/GeneralUpdate.Maui.OSS.csproj @@ -9,7 +9,7 @@ true enable false - 14.2 + 11.0 14.0 21.0 10.0.17763.0 diff --git a/src/c#/GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj b/src/c#/GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj index e291bb4..e2d03fa 100644 --- a/src/c#/GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj +++ b/src/c#/GeneralUpdate.OSSClient/GeneralUpdate.OSSClient.csproj @@ -1,7 +1,7 @@  - net7.0-ios;net7.0-maccatalyst;net7.0-android33.0 + net7.0-maccatalyst;net7.0-android33.0 $(TargetFrameworks);net7.0-windows10.0.19041.0 -- Gitee