From cfd6d18c1875311b97eaf42081b15279b1886f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=BD=E7=AC=94wys?= <46271592+Skymly@users.noreply.github.com> Date: Sat, 18 Jul 2026 17:37:04 +0800 Subject: [PATCH] Align Samples Nuke build with .NET 10 --- .github/workflows/ci.yml | 2 +- build/_build.csproj | 6 ++++-- global.json | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73e2300..dd4d149 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,7 +35,7 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 10.0.x - name: Cache NuGet packages uses: actions/cache@v4 diff --git a/build/_build.csproj b/build/_build.csproj index 14d8555..258d0b1 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 enable enable 1 @@ -10,7 +10,9 @@ - + + + diff --git a/global.json b/global.json index 67394de..44fbb79 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "8.0.421", + "version": "10.0.301", "rollForward": "latestMajor", "allowPrerelease": false }