Fix error in post-merge pipeline (#15717)

### Description
Get the right drive letter on Windows

### Motivation and Context
Build Directory might be in drive C
This commit is contained in:
Yi Zhang 2023-04-28 01:05:15 +08:00 committed by GitHub
parent a952419674
commit 8cda1ffa28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -232,7 +232,7 @@ jobs:
CCACHE_DIR: $(ORT_CACHE_DIR)
- powershell: |
Get-Volume D
Get-Volume $("$(Build.BinariesDirectory)")[0]
displayName: check disk size
- task: DeleteFiles@1
@ -243,7 +243,7 @@ jobs:
**/*.obj
- powershell: |
Get-Volume D
Get-Volume $("$(Build.BinariesDirectory)")[0]
displayName: check disk size
- ${{ if eq(parameters.EnablePython, true) }}: