Skip to content

Commit 03d1dfc

Browse files
authored
[UI tests] Fix "UI tests pipeline build failed " (#44574)
1 parent 9086995 commit 03d1dfc

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.pipelines/v2/templates/job-build-ui-tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,13 @@ jobs:
6868

6969
- template: .\steps-restore-nuget.yml
7070

71-
- task: NuGetCommand@2
71+
- task: MSBuild@1
7272
displayName: Restore solution-level NuGet packages
7373
inputs:
74-
command: restore
75-
feedsToUse: config
76-
configPath: nuget.config
77-
restoreSolution: PowerToys.slnx
78-
restoreDirectory: '$(Build.SourcesDirectory)\packages'
74+
solution: PowerToys.slnx
75+
msbuildArguments: '/t:restore /p:RestorePackagesConfig=true'
76+
platform: $(BuildPlatform)
77+
configuration: $(BuildConfiguration)
7978

8079
# Build all UI test projects if no specific modules are specified
8180
- ${{ if eq(length(parameters.uiTestModules), 0) }}:

0 commit comments

Comments
 (0)