[CI] Remove older pkgs in the system to make sure we are not running the tests with an older version. (#15547)

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
This commit is contained in:
VS MobileTools Engineering Service 2 2022-07-20 09:33:16 -07:00 коммит произвёл GitHub
Родитель ab7502cc54
Коммит 811dde665a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -63,6 +63,11 @@ steps:
parameters:
keyringPass: ${{ parameters.keyringPass }}
- bash: |
rm -Rf /Library/Frameworks/Xamarin.Mac.framework
rm -Rf /Library/Frameworks/Xamarin.iOS.framework
displayName: 'Remove older Frameworks'
# Use a cmdlet to check if the space available in the devices root system is larger than 50 gb. If there is not
# enough space available it:
# 1. Set the status of the build to error. It is not a failure since no tests have been ran.