From 4b7f1838004f5340ece2a2d59ec9596ee8bad094 Mon Sep 17 00:00:00 2001 From: Juan Arias Roldan <1686668+juan-arias@users.noreply.github.com> Date: Tue, 7 Jan 2025 15:16:48 -0800 Subject: [PATCH] Uninstall xcpretty version 0.4.0 before installing version 0.3.0 --- azure_pipelines/msal_submodule_check.yaml | 8 +++++++- azure_pipelines/pr-validation.yml | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/azure_pipelines/msal_submodule_check.yaml b/azure_pipelines/msal_submodule_check.yaml index 02bc20bb2..d0179f766 100644 --- a/azure_pipelines/msal_submodule_check.yaml +++ b/azure_pipelines/msal_submodule_check.yaml @@ -40,7 +40,13 @@ jobs: /bin/bash -c "sudo xcode-select -s /Applications/Xcode_15.4.app" displayName: 'Switch to use Xcode 15.4' - task: CmdLine@2 - displayName: Installing xcpretty + displayName: Uninstalling xcpretty v0.4.0 + inputs: + script: | + gem uninstall xcpretty -I --version 0.4.0 + failOnStderr: false + - task: CmdLine@2 + displayName: Installing xcpretty v0.3.0 inputs: script: | gem install xcpretty -N -v 0.3.0 diff --git a/azure_pipelines/pr-validation.yml b/azure_pipelines/pr-validation.yml index d7dc2fa58..482a61e25 100644 --- a/azure_pipelines/pr-validation.yml +++ b/azure_pipelines/pr-validation.yml @@ -29,7 +29,13 @@ jobs: steps: - task: CmdLine@2 - displayName: Installing xcpretty + displayName: Uninstalling xcpretty v0.4.0 + inputs: + script: | + gem uninstall xcpretty -I --version 0.4.0 + failOnStderr: false + - task: CmdLine@2 + displayName: Installing xcpretty v0.3.0 inputs: script: | gem install xcpretty -N -v 0.3.0