From 3c8926d22f4ef957ec6e6cf0e5a0360eb2cb7c43 Mon Sep 17 00:00:00 2001 From: Atif Aziz Date: Fri, 27 Dec 2024 18:18:28 +0100 Subject: [PATCH] Setup .NET 8 on CI --- .github/workflows/build.yml | 6 ++++-- appveyor.yml | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a6baaf3d..8a38d1342 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -63,10 +63,12 @@ jobs: with: global-json-file: global.json - - name: Setup .NET SDK 6.0 + - name: Setup .NET SDK 6.0, 8.0 uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: | + 6.0.x + 8.0.x - name: .NET Information run: dotnet --info diff --git a/appveyor.yml b/appveyor.yml index 108698254..bafa41b90 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -49,8 +49,10 @@ install: - git reset --hard - ps: if ($isWindows) { tools\dotnet-install.ps1 -JSonFile global.json } - ps: if ($isWindows) { tools\dotnet-install.ps1 -Runtime dotnet -Version 6.0.11 -SkipNonVersionedFiles } +- ps: if ($isWindows) { tools\dotnet-install.ps1 -Runtime dotnet -Version 8.0.11 -SkipNonVersionedFiles } - sh: ./tools/dotnet-install.sh --jsonfile global.json - sh: ./tools/dotnet-install.sh --runtime dotnet --version 6.0.11 --skip-non-versioned-files +- sh: ./tools/dotnet-install.sh --runtime dotnet --version 8.0.11 --skip-non-versioned-files - sh: export PATH="$HOME/.dotnet:$PATH" before_build: - dotnet --info