Skip to content

Commit cf2eec3

Browse files
committed
.azure-pipelines: install .NET 6.0 sdk for macOS signing
Install the .NET 6.0 SDK and enforce a minimum NuGet version for macOS signing workflow. This duplicates what we currently do in the Windows workflow and fixes the .NET error observed in this attempted release build: https://dev.azure.com/mseng/AzureDevOps/_build/results?buildId=17051675&view=results Clean test build with this change: https://dev.azure.com/mseng/AzureDevOps/_build/results?buildId=17052160&view=results
1 parent d357d40 commit cf2eec3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.azure-pipelines/templates/osx/pack.signed/step2-signpayload.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ steps:
1515
buildType: 'current'
1616
artifactName: 'tmp.macpayload_unsigned'
1717
downloadPath: '$(Build.StagingDirectory)\payload'
18+
19+
- task: UseDotNet@2
20+
displayName: Use .NET SDK 6.0.201
21+
inputs:
22+
packageType: sdk
23+
version: 6.0.201
24+
25+
- task: NuGetToolInstaller@0
26+
displayName: Install NuGet tool >=4.3.0
27+
inputs:
28+
versionSpec: '>=4.3.0'
1829

1930
# Must use the NuGet & MSBuild toolchain here rather than `dotnet`
2031
# because the signing tasks target the netfx MSBuild runtime only.

0 commit comments

Comments
 (0)