From 143fbef3d750a9c71c7b79d3cd224565bba97590 Mon Sep 17 00:00:00 2001 From: Ronald Barendse Date: Thu, 25 Aug 2022 17:04:46 +0200 Subject: [PATCH] Use .NET 7.x in CodeQL build --- .github/workflows/codeql-analysis.yml | 3 ++- build/azure-pipelines.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c686f373e1..7bb75f0780 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -27,7 +27,8 @@ jobs: - name: Setup dotnet uses: actions/setup-dotnet@v1 with: - dotnet-version: '6.0.x' + dotnet-version: '7.x' + include-prerelease: true - name: dotnet build run: dotnet build umbraco.sln -c SkipTests diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index 328c8dfef5..606e0b6a67 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -65,7 +65,7 @@ stages: targets: coreBuild workingDirectory: src/Umbraco.Web.UI.Client - task: UseDotNet@2 - displayName: Use .Net 7.x + displayName: Use .NET 7.x inputs: version: 7.x includePreviewVersions: true