Skip to content

Commit 9eaf7b2

Browse files
authored
[release/9.0] Install .NET 8 before running Publish Using Darc (#16265)
1 parent 3df44a0 commit 9eaf7b2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

eng/common/core-templates/job/publish-build-assets.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ jobs:
145145
PromoteToChannelIds: ${{ parameters.PromoteToChannelIds }}
146146
is1ESPipeline: ${{ parameters.is1ESPipeline }}
147147

148+
# Darc is targeting 8.0, so make sure it's installed
149+
- task: UseDotNet@2
150+
inputs:
151+
version: 8.0.x
152+
148153
- task: AzureCLI@2
149154
displayName: Publish Using Darc
150155
inputs:

eng/common/core-templates/post-build/post-build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ stages:
305305

306306
- task: NuGetAuthenticate@1
307307

308+
# Darc is targeting 8.0, so make sure it's installed
309+
- task: UseDotNet@2
310+
inputs:
311+
version: 8.0.x
312+
308313
- task: AzureCLI@2
309314
displayName: Publish Using Darc
310315
inputs:

0 commit comments

Comments
 (0)