| 1 | steps: |
| 2 | - task: DownloadBuildArtifacts@0 |
| 3 | displayName : 'Download Azure CLI test SDK wheel from Build Artifacts' |
| 4 | inputs: |
| 5 | buildType: 'current' |
| 6 | downloadType: 'single' |
| 7 | artifactName: 'azure-cli-test-sdk' |
| 8 | downloadPath: '$(System.ArtifactsDirectory)/wheels' |
| 9 | |
| 10 | - task: PowerShell@2 |
| 11 | displayName: 'Install Downloaded Wheels' |
| 12 | inputs: |
| 13 | targetType: 'inline' |
| 14 | script: | |
| 15 | $wheels = Get-ChildItem -Filter "*.whl" -Recurse | Select-Object FullName |
| 16 | Foreach ($wheel in $wheels) |
| 17 | { |
| 18 | Write-Host "installing" $wheel.FullName |
| 19 | pip install $wheel.FullName |
| 20 | } |
| 21 | Write-Host "done" |
| 22 | workingDirectory: '$(System.ArtifactsDirectory)/wheels' |