From 81a4224e0929af9a9250fb0e874d7f9ff48cd778 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Wed, 15 Nov 2023 13:05:54 +0100 Subject: [PATCH] The most important changes include updating the version of the 'actions/setup-dotnet' action to v3.2.0 and including multiple versions of .NET in the 'dotnet-version' parameter. These changes were made to improve compatibility and functionality of the workflows. 1. Updated the version of the 'actions/setup-dotnet' action from v3 to v3.2.0 in 'build.yml' and 'codeql-analysis.yml'. (line 1) 2. Updated the 'dotnet-version' parameter in both files to include multiple versions of .NET, including 8.0.100, 7.0.403, and 6.x. (line 2) 3. Changes were made to ensure compatibility with different versions of .NET and to improve the overall functionality of the workflows. --- .github/workflows/build.yml | 7 +++++-- .github/workflows/codeql-analysis.yml | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2de1678..19d2355 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,8 +26,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v3.2.0 with: - dotnet-version: 7.0.403 + dotnet-version: | + 8.0.100 + 7.0.403 + 6.x - name: Build library run: dotnet build -c Release -v normal diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e929812..074a9a5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,9 +32,12 @@ jobs: languages: ${{ matrix.language }} - name: Setup .NET - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v3.2.0 with: - dotnet-version: 7.0.403 + dotnet-version: | + 8.0.100 + 7.0.403 + 6.x - name: Autobuild uses: github/codeql-action/autobuild@v2