Skip to content

Commit

Permalink
Don't install .NET Core 3.1 during CI
Browse files Browse the repository at this point in the history
  • Loading branch information
slozier committed Dec 23, 2024
1 parent e8ec074 commit 175de4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
11 changes: 2 additions & 9 deletions Build/steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,23 @@ 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:
packageType: 'runtime'
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
displayName: Install .NET 9.0 SDK for build
inputs:
packageType: 'sdk'
version: '9.0.x'
includePreviewVersions: true

# Set Mono version on macOS
- ${{ if eq(parameters.os, 'macOS') }}:
Expand Down

0 comments on commit 175de4a

Please sign in to comment.