diff --git a/scripts/azure-pipelines/windows/azure-pipelines.yml b/scripts/azure-pipelines/windows/azure-pipelines.yml index c70eab86b6..7bd1cab0fa 100644 --- a/scripts/azure-pipelines/windows/azure-pipelines.yml +++ b/scripts/azure-pipelines/windows/azure-pipelines.yml @@ -29,7 +29,7 @@ jobs: - script: .\bootstrap-vcpkg.bat displayName: 'Bootstrap vcpkg' - script: | - rmdir /S /Q ${{ variables.VCPKG_DOWNLOADS }} 2>&1 + if exist ${{ variables.VCPKG_DOWNLOADS }} rmdir /S /Q ${{ variables.VCPKG_DOWNLOADS }} 2>&1 displayName: 'Clean downloads' - task: PowerShell@2 displayName: '*** Test Modified Ports and Prepare Test Logs ***'