From 8cda1ffa28ff4033249eb5aeaa284c5dd2a10758 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Fri, 28 Apr 2023 01:05:15 +0800 Subject: [PATCH] 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 --- .../github/azure-pipelines/templates/win-ci-vs-2019.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ci_build/github/azure-pipelines/templates/win-ci-vs-2019.yml b/tools/ci_build/github/azure-pipelines/templates/win-ci-vs-2019.yml index 3a843e5361..c85a4afd0b 100644 --- a/tools/ci_build/github/azure-pipelines/templates/win-ci-vs-2019.yml +++ b/tools/ci_build/github/azure-pipelines/templates/win-ci-vs-2019.yml @@ -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) }}: