[UI tests] Fix "UI tests pipeline build failed " (#44574)

This commit is contained in:
leileizhang
2026-01-08 00:08:55 +08:00
committed by GitHub
parent 9086995eeb
commit 03d1dfca2d

View File

@@ -68,14 +68,13 @@ jobs:
- template: .\steps-restore-nuget.yml - template: .\steps-restore-nuget.yml
- task: NuGetCommand@2 - task: MSBuild@1
displayName: Restore solution-level NuGet packages displayName: Restore solution-level NuGet packages
inputs: inputs:
command: restore solution: PowerToys.slnx
feedsToUse: config msbuildArguments: '/t:restore /p:RestorePackagesConfig=true'
configPath: nuget.config platform: $(BuildPlatform)
restoreSolution: PowerToys.slnx configuration: $(BuildConfiguration)
restoreDirectory: '$(Build.SourcesDirectory)\packages'
# Build all UI test projects if no specific modules are specified # Build all UI test projects if no specific modules are specified
- ${{ if eq(length(parameters.uiTestModules), 0) }}: - ${{ if eq(length(parameters.uiTestModules), 0) }}: