From 175de4aeb9826dabec3a7fde5b51f9d7b4d9dbf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lozier?= Date: Mon, 23 Dec 2024 18:06:13 -0500 Subject: [PATCH] Don't install .NET Core 3.1 during CI --- .github/workflows/main.yml | 5 ----- Build/steps.yml | 11 ++--------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c64d8f0..8de3acbf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,10 +14,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Setup .NET Core 3.1 - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '3.1.x' - name: Setup .NET 6.0 uses: actions/setup-dotnet@v4 with: @@ -30,7 +26,6 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: '9.0.x' - include-prerelease: true - name: Build run: pwsh make.ps1 - name: Package diff --git a/Build/steps.yml b/Build/steps.yml index 9eed332a..5403a31e 100644 --- a/Build/steps.yml +++ b/Build/steps.yml @@ -21,12 +21,6 @@ steps: Write-Host ("##vso[task.setvariable variable=PackageVersion;isSecret=false;isOutput=true;]$PackageVersion") displayName: Grab Package Version - - task: UseDotNet@2 - displayName: Install .NET Core 3.1 runtime for testing - inputs: - packageType: 'runtime' - version: '3.1.x' - - task: UseDotNet@2 displayName: Install .NET 6.0 runtime for testing inputs: @@ -34,9 +28,9 @@ steps: version: '6.0.x' - task: UseDotNet@2 - displayName: Install .NET 8.0 SDK for build + displayName: Install .NET 8.0 runtime for testing inputs: - packageType: 'sdk' + packageType: 'runtime' version: '8.0.x' - task: UseDotNet@2 @@ -44,7 +38,6 @@ steps: inputs: packageType: 'sdk' version: '9.0.x' - includePreviewVersions: true # Set Mono version on macOS - ${{ if eq(parameters.os, 'macOS') }}: