@@ -319,14 +319,18 @@ jobs:
319
319
- ${{ if ne(parameters.skipSteps, 'true') }} :
320
320
- ${{ if eq(parameters.docker, '') }} :
321
321
- ${{ if eq(parameters.buildAgent.pool.os, 'windows') }} :
322
+ - pwsh : dotnet tool restore
323
+ displayName : Restore the .NET tools
324
+ condition : and(succeeded(), eq(variables['DOWNLOAD_EXTERNALS'], ''))
325
+ retryCountOnTaskFailure : 1
326
+ timeoutInMinutes : 5
322
327
- pwsh : dotnet cake --info
323
328
displayName : Display all the Cake information
324
329
condition : and(succeeded(), eq(variables['DOWNLOAD_EXTERNALS'], ''))
325
330
retryCountOnTaskFailure : 1
326
331
timeoutInMinutes : 5
327
332
- pwsh : |
328
333
Get-Content $PSCommandPath
329
- dotnet tool restore
330
334
${{ parameters.initScript }}
331
335
dotnet cake --target=${{ parameters.target }} --verbosity=${{ parameters.verbosity }} --configuration=${{ coalesce(parameters.configuration, 'Release') }} ${{ parameters.additionalArgs }}
332
336
@@ -339,14 +343,18 @@ jobs:
339
343
retryCountOnTaskFailure: ${{ parameters.retryCount }}
340
344
condition: and(succeeded(), eq(variables['DOWNLOAD_EXTERNALS'], ''))
341
345
- ${{ if ne(parameters.buildAgent.pool.os, 'windows') }} :
346
+ - bash : dotnet tool restore
347
+ displayName : Restore the .NET tools
348
+ condition : and(succeeded(), eq(variables['DOWNLOAD_EXTERNALS'], ''))
349
+ retryCountOnTaskFailure : 1
350
+ timeoutInMinutes : 5
342
351
- bash : dotnet cake --info
343
352
displayName : Display all the Cake information
344
353
condition : and(succeeded(), eq(variables['DOWNLOAD_EXTERNALS'], ''))
345
354
retryCountOnTaskFailure : 1
346
355
timeoutInMinutes : 5
347
356
- bash : |
348
357
cat ${BASH_SOURCE[0]}
349
- dotnet tool restore
350
358
${{ parameters.initScript }}
351
359
dotnet cake --target=${{ parameters.target }} --verbosity=${{ parameters.verbosity }} --configuration=${{ coalesce(parameters.configuration, 'Release') }} ${{ parameters.additionalArgs }}
352
360
0 commit comments