From e2dd870c416322debd013739069445d006a70520 Mon Sep 17 00:00:00 2001 From: Aliaksandr Kukrash Date: Sun, 12 Jan 2025 00:02:30 +0100 Subject: [PATCH] Add .NET 8 SDK, keep .NET 6 SDK for runtime purposes. When this is merged https://github.com/actions/setup-dotnet/pull/476 we can use a switch Signed-off-by: Aliaksandr Kukrash --- .github/workflows/build.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index df34038d..c8c1bd3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,12 +33,14 @@ jobs: with: lfs: true fetch-depth: 0 - - name: "Install .NET SDK" - uses: actions/setup-dotnet@v3.2.0 + - name: "Install .NET 6.0 SDK" + uses: actions/setup-dotnet@v4.2.0 with: - dotnet-version: | - 6.0.x - global-json-file: "./global.json" + dotnet-version: 6.0.x + - name: "Install .NET 8.0 SDK" + uses: actions/setup-dotnet@v4.2.0 + with: + dotnet-version: 8.0.x - name: "Dotnet Tool Restore" run: dotnet tool restore shell: pwsh