Skip to content

Commit 1fd451c

Browse files
committed
ci: update to .NET 10 for CI and release builds
Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
1 parent 3f7800f commit 1fd451c

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.azure-pipelines/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,10 @@ extends:
136136
$version = (Get-Content .\VERSION) -replace '\.\d+$', ''
137137
Write-Host "##vso[task.setvariable variable=version;isReadOnly=true]$version"
138138
- task: UseDotNet@2
139-
displayName: 'Use .NET 8 SDK'
139+
displayName: 'Use .NET 10 SDK'
140140
inputs:
141141
packageType: sdk
142-
version: '8.x'
142+
version: '10.x'
143143
- task: PowerShell@2
144144
displayName: 'Build payload'
145145
inputs:
@@ -296,10 +296,10 @@ extends:
296296
script: |
297297
echo "##vso[task.setvariable variable=version;isReadOnly=true]$(cat ./VERSION | sed -E 's/.[0-9]+$//')"
298298
- task: UseDotNet@2
299-
displayName: 'Use .NET 8 SDK'
299+
displayName: 'Use .NET 10 SDK'
300300
inputs:
301301
packageType: sdk
302-
version: '8.x'
302+
version: '10.x'
303303
- task: Bash@3
304304
displayName: 'Build payload'
305305
inputs:
@@ -565,10 +565,10 @@ extends:
565565
script: |
566566
echo "##vso[task.setvariable variable=version;isReadOnly=true]$(cat ./VERSION | sed -E 's/.[0-9]+$//')"
567567
- task: UseDotNet@2
568-
displayName: 'Use .NET 8 SDK'
568+
displayName: 'Use .NET 10 SDK'
569569
inputs:
570570
packageType: sdk
571-
version: '8.x'
571+
version: '10.x'
572572
- task: Bash@3
573573
displayName: 'Build payload'
574574
inputs:
@@ -664,10 +664,10 @@ extends:
664664
$version = (Get-Content .\VERSION) -replace '\.\d+$', ''
665665
Write-Host "##vso[task.setvariable variable=version;isReadOnly=true]$version"
666666
- task: UseDotNet@2
667-
displayName: 'Use .NET 8 SDK'
667+
displayName: 'Use .NET 10 SDK'
668668
inputs:
669669
packageType: sdk
670-
version: '8.x'
670+
version: '10.x'
671671
- task: NuGetToolInstaller@1
672672
displayName: 'Install NuGet CLI'
673673
inputs:

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup .NET
2828
uses: actions/setup-dotnet@v5.1.0
2929
with:
30-
dotnet-version: 8.0.x
30+
dotnet-version: 10.0.x
3131

3232
# Initializes the CodeQL tools for scanning.
3333
- name: Initialize CodeQL

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup .NET
3131
uses: actions/setup-dotnet@v5.1.0
3232
with:
33-
dotnet-version: 8.0.x
33+
dotnet-version: 10.0.x
3434

3535
- name: Install dependencies
3636
run: dotnet restore
@@ -78,7 +78,7 @@ jobs:
7878
- name: Setup .NET
7979
uses: actions/setup-dotnet@v5.1.0
8080
with:
81-
dotnet-version: 8.0.x
81+
dotnet-version: 10.0.x
8282

8383
- name: Install dependencies
8484
run: dotnet restore
@@ -122,7 +122,7 @@ jobs:
122122
- name: Setup .NET
123123
uses: actions/setup-dotnet@v5.1.0
124124
with:
125-
dotnet-version: 8.0.x
125+
dotnet-version: 10.0.x
126126

127127
- name: Install dependencies
128128
run: dotnet restore

0 commit comments

Comments
 (0)