From 47b6d38f5f953cc2d43612d7fd331a46c19a97ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Fr=C3=B6hling?= Date: Sun, 2 Feb 2025 18:55:36 +0100 Subject: [PATCH] Update CI scripts --- .github/constants.env | 3 ++- .github/workflows/build.yml | 3 ++- .github/workflows/documentation.yml | 3 ++- .github/workflows/sonarcloud.yml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/constants.env b/.github/constants.env index 4fa793aba..36299dee3 100644 --- a/.github/constants.env +++ b/.github/constants.env @@ -1,2 +1,3 @@ -DOTNET_VERSION_STABLE: '9.0.x' +DOTNET_VERSION_CURRENT_STABLE: '9.0.x' +DOTNET_8_VERSION_STABLE: '8.0.x' DOTNET_VERSION_PREVIEW: '' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7417d9c73..237acfa2b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,7 +75,8 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - ${{ env.DOTNET_VERSION_STABLE }} + ${{ env.DOTNET_VERSION_CURRENT_STABLE }} + ${{ env.DOTNET_8_VERSION_STABLE }} - name: Restore dependencies run: dotnet restore diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 4a1225ae4..51d1585d9 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -43,7 +43,8 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - ${{ env.DOTNET_VERSION_STABLE }} + ${{ env.DOTNET_VERSION_CURRENT_STABLE }} + ${{ env.DOTNET_8_VERSION_STABLE }} - name: Setup DocFX run: dotnet tool update -g docfx diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 519247562..fa71fe599 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -33,7 +33,8 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - ${{ env.DOTNET_VERSION_STABLE }} + ${{ env.DOTNET_VERSION_CURRENT_STABLE }} + ${{ env.DOTNET_8_VERSION_STABLE }} - name: Install SonarCloud scanner if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'