From 2a7b4929ad887ef409bee7ca6b0cd15fc56545b8 Mon Sep 17 00:00:00 2001 From: Jeremy Sinclair <4016293+snickler@users.noreply.github.com> Date: Wed, 11 Oct 2023 15:57:57 -0400 Subject: [PATCH] [Build] Temporarily move .NET 8 SDK task before XAML formatting --- .pipelines/ci/templates/build-powertoys-steps.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.pipelines/ci/templates/build-powertoys-steps.yml b/.pipelines/ci/templates/build-powertoys-steps.yml index a7aacbf36c..af31831e43 100644 --- a/.pipelines/ci/templates/build-powertoys-steps.yml +++ b/.pipelines/ci/templates/build-powertoys-steps.yml @@ -7,6 +7,13 @@ steps: submodules: true clean: true +- task: UseDotNet@2 + displayName: 'Use .NET 8 SDK' + inputs: + packageType: sdk + version: '8.x' + includePreviewVersions: true + - task: PowerShell@2 displayName: Verify XAML formatting inputs: @@ -56,13 +63,6 @@ steps: arguments: -solution '$(build.sourcesdirectory)\installer\PowerToysSetup.sln' pwsh: true -- task: UseDotNet@2 - displayName: 'Use .NET 8 SDK' - inputs: - packageType: sdk - version: '8.x' - includePreviewVersions: true - - task: VisualStudioTestPlatformInstaller@1 displayName: Ensure VSTest Platform