Skip to content

Commit d5e8a34

Browse files
authored
release: install .NET 8 SDK for ESRP codesigning on macOS and Linux (#2331)
.NET 8 (or 6 or 9) is a a required dependency for ESRP steps on Mac/Linux.. lovely. Also installing .NET 8 since this was the prior LTS before 10.
2 parents 3854378 + e62235a commit d5e8a34

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.azure-pipelines/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,11 @@ extends:
301301
targetType: inline
302302
script: |
303303
echo "##vso[task.setvariable variable=version;isReadOnly=true]$(cat ./VERSION | sed -E 's/.[0-9]+$//')"
304+
- task: UseDotNet@2
305+
displayName: 'Use .NET 8 SDK (ESRP dependency)'
306+
inputs:
307+
packageType: sdk
308+
version: '8.x'
304309
- task: UseDotNet@2
305310
displayName: 'Use .NET 10 SDK'
306311
inputs:
@@ -571,6 +576,11 @@ extends:
571576
targetType: inline
572577
script: |
573578
echo "##vso[task.setvariable variable=version;isReadOnly=true]$(cat ./VERSION | sed -E 's/.[0-9]+$//')"
579+
- task: UseDotNet@2
580+
displayName: 'Use .NET 8 SDK (ESRP dependency)'
581+
inputs:
582+
packageType: sdk
583+
version: '8.x'
574584
- task: UseDotNet@2
575585
displayName: 'Use .NET 10 SDK'
576586
inputs:

0 commit comments

Comments
 (0)