Skip to content

Commit

Permalink
[Eng]Adjust order of donet task and install dotnet tool task (#26851)
Browse files Browse the repository at this point in the history
  • Loading branch information
VeryEarly authored Dec 10, 2024
1 parent 65df25c commit 05c7e00
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .azure-pipelines/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ jobs:
git config --global core.longpaths true
# Wipe any changes from a previous branch
git clean -xdf
- task: UseDotNet@2
displayName: 'Use .NET Core sdk 6.0.x for build'
inputs:
packageType: sdk
version: 6.0.x
- task: PowerShell@2
displayName: Prepare Powershell $(PSVersion)
inputs:
filePath: 'tools/Test/SmokeTest/PrepareRequiredPowershell.ps1'
arguments: '-RequiredPsVersion $(PSVersion)'

- task: PowerShell@2
displayName: 'Install platyPS'
inputs:
Expand All @@ -43,11 +46,6 @@ jobs:
Install-Module platyPS -Force -Confirm:`$false -Scope CurrentUser `
Exit"
dotnet tool run pwsh -c $command
- task: UseDotNet@2
displayName: 'Use .NET Core sdk 6.0.x for build'
inputs:
packageType: sdk
version: 6.0.x
- task: DotNetCoreCLI@2
displayName: 'Build for Bumping Version'
inputs:
Expand Down

0 comments on commit 05c7e00

Please sign in to comment.