зеркало из https://github.com/microsoft/testfx.git
Avoid pushing Microsoft.Testing.Platform nupkg
This commit is contained in:
Родитель
0caccfe4e2
Коммит
8d50763eff
|
@ -141,6 +141,14 @@ stages:
|
|||
name: Test
|
||||
displayName: Test
|
||||
|
||||
- ${{ if eq(variables._RunAsInternal, True) }}:
|
||||
- task: PowerShell@2
|
||||
displayName: 'Delete Microsoft.Testing.Platform NuGet package'
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
Remove-Item -Force ./artifacts/packages/$(_BuildConfig)/NonShipping/Microsoft.Testing.Platform.*.nupkg
|
||||
|
||||
# This step is only helpful for diagnosing some issues with vstest/test host that would not appear
|
||||
# through the console or trx
|
||||
- task: PublishBuildArtifacts@1
|
||||
|
@ -151,13 +159,6 @@ stages:
|
|||
condition: failed()
|
||||
|
||||
- ${{ if eq(variables._RunAsInternal, True) }}:
|
||||
- task: PowerShell@2
|
||||
displayName: 'Delete Microsoft.Testing.Platform NuGet package'
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
Remove-Item -Force ./artifacts/packages/$(_BuildConfig)/NonShipping/Microsoft.Testing.Platform.*.nupkg
|
||||
|
||||
- task: NuGetAuthenticate@0
|
||||
displayName: 'NuGet Authenticate to test-tools feed'
|
||||
|
||||
|
@ -200,6 +201,14 @@ stages:
|
|||
name: Test
|
||||
displayName: Tests
|
||||
|
||||
- ${{ if eq(variables._RunAsInternal, True) }}:
|
||||
- task: PowerShell@2
|
||||
displayName: 'Delete Microsoft.Testing.Platform NuGet package'
|
||||
inputs:
|
||||
targetType: 'inline'
|
||||
script: |
|
||||
Remove-Item -Force ./artifacts/packages/$(_BuildConfig)/NonShipping/Microsoft.Testing.Platform.*.nupkg
|
||||
|
||||
- ${{ if eq(variables._RunAsInternal, True) }}:
|
||||
- template: /eng/common/templates/job/onelocbuild.yml
|
||||
parameters:
|
||||
|
|
Загрузка…
Ссылка в новой задаче