Skip to content

Commit 05c7e00

Browse files
authored
[Eng]Adjust order of donet task and install dotnet tool task (#26851)
1 parent 65df25c commit 05c7e00

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.azure-pipelines/daily-build.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,16 @@ jobs:
2727
git config --global core.longpaths true
2828
# Wipe any changes from a previous branch
2929
git clean -xdf
30-
30+
- task: UseDotNet@2
31+
displayName: 'Use .NET Core sdk 6.0.x for build'
32+
inputs:
33+
packageType: sdk
34+
version: 6.0.x
3135
- task: PowerShell@2
3236
displayName: Prepare Powershell $(PSVersion)
3337
inputs:
3438
filePath: 'tools/Test/SmokeTest/PrepareRequiredPowershell.ps1'
3539
arguments: '-RequiredPsVersion $(PSVersion)'
36-
3740
- task: PowerShell@2
3841
displayName: 'Install platyPS'
3942
inputs:
@@ -43,11 +46,6 @@ jobs:
4346
Install-Module platyPS -Force -Confirm:`$false -Scope CurrentUser `
4447
Exit"
4548
dotnet tool run pwsh -c $command
46-
- task: UseDotNet@2
47-
displayName: 'Use .NET Core sdk 6.0.x for build'
48-
inputs:
49-
packageType: sdk
50-
version: 6.0.x
5149
- task: DotNetCoreCLI@2
5250
displayName: 'Build for Bumping Version'
5351
inputs:

0 commit comments

Comments
 (0)