Use PublishTestResults@2 task (#7321)

The build produces warnings about using the old task:

```
##[warning]Task 'PublishTestResults' (1.0.45) is using deprecated task execution handler. The task should use the supported task-lib: https://aka.ms/tasklib
```
This commit is contained in:
Alexander Köplinger 2020-05-15 17:08:26 +02:00 committed by GitHub
parent 40c72eaf46
commit ec57fb5a22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,7 +133,7 @@ phases:
publishFeedCredentials: 'DevDiv - VS package feed'
condition: and(succeeded(), eq(variables['_PushToVSFeed'], 'true'), eq(variables['_DotNetPublishToBlobFeed'], 'true'), or(eq(variables['_BuildArchitecture'], 'x64'), eq(variables['_BuildArchitecture'], 'x86')))
- task: PublishTestResults@1
- task: PublishTestResults@2
displayName: Publish Test Results
inputs:
testRunner: XUnit