Skip to content

Commit 1a90c55

Browse files
authored
Restore internal tools via arcade sdk (#12437)
1 parent 8ffc1c7 commit 1a90c55

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

azure-pipelines-official.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ extends:
170170
/p:ManifestBuildNumber=$(Build.BuildNumber)
171171
/p:VisualStudioDropName=Products/$(System.TeamProject)/$(Build.Repository.Name)/$(Build.SourceBranchName)/$(Build.BuildNumber)
172172
/p:GenerateSbom=true
173+
/p:RestoreInternalTooling=true
173174

174175
steps:
175176
- task: NuGetCommand@2
@@ -200,6 +201,7 @@ extends:
200201
-prepareMachine
201202
-restore
202203
-nobl
204+
$(_BuildArgs)
203205
name: Restore
204206
displayName: Restore
205207
condition: succeeded()

eng/restore-internal-tools.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,3 @@
1111
packageType: runtime
1212
version: 3.1.28
1313
installationPath: '$(Build.SourcesDirectory)\.dotnet'
14-
15-
# Needed because the build fails the NuGet Tools restore without it
16-
- task: UseDotNet@2
17-
displayName: 'Use .NET Core sdk'
18-
inputs:
19-
packageType: sdk
20-
useGlobalJson: true
21-
workingDirectory: '$(Build.SourcesDirectory)'
22-
23-
# Needed to restore the Microsoft.DevDiv.Optimization.Data.PowerShell package
24-
- task: NuGetCommand@2
25-
displayName: Restore internal tools
26-
inputs:
27-
command: restore
28-
feedsToUse: config
29-
restoreSolution: 'eng\common\internal\Tools.csproj'
30-
nugetConfigPath: 'NuGet.config'
31-
restoreDirectory: '$(Build.SourcesDirectory)\.packages'
32-

0 commit comments

Comments
 (0)