From 3c20e2118273f2805e2c567656a676ac8a1c94bb Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Tue, 5 May 2026 04:03:08 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E9=99=90=E5=AE=9A.Net=20SDK=E4=B8=BA10.0?= =?UTF-8?q?.203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 7 ++++++- .github/workflows/release-nightly-ota.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48e2ea2d12..b60a6cc91a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -150,10 +150,15 @@ jobs: cp MaaFramework-temp/bin/*Win32ControlUnit* install/ cp MaaFramework-temp/bin/*AdbControlUnit* install/ + - name: Generate global.json + shell: bash + run: | + echo '{"sdk":{"version":"10.0.203","rollForward":"disable"}}' > global.json + - name: Setup .NET SDK uses: actions/setup-dotnet@v5 with: - dotnet-version: '10.0.202' + global-json-file: global.json - name: Cache .nuke/temp, ~/.nuget/packages id: cache-nuget diff --git a/.github/workflows/release-nightly-ota.yml b/.github/workflows/release-nightly-ota.yml index 0da8f2ad9c..990148175e 100644 --- a/.github/workflows/release-nightly-ota.yml +++ b/.github/workflows/release-nightly-ota.yml @@ -206,10 +206,15 @@ jobs: run: | cp MaaFramework-temp/bin/*Win32ControlUnit* install/ + - name: Generate global.json + shell: bash + run: | + echo '{"sdk":{"version":"10.0.203","rollForward":"disable"}}' > global.json + - name: Setup .NET SDK uses: actions/setup-dotnet@v5 with: - dotnet-version: '10.0.202' + global-json-file: global.json - name: Cache .nuke/temp, ~/.nuget/packages id: cache-nuget