Skip to content

Commit

Permalink
Merge pull request #2475 from AzureAD/jarias/uninstall-xcpretty-v0.4.…
Browse files Browse the repository at this point in the history
…0-before-installing-v0.3.0

Uninstall xcpretty version 0.4.0 before installing version 0.3.0 [MSAL]
  • Loading branch information
juan-arias authored Jan 8, 2025
2 parents 04cab7c + d53f121 commit 3170a7f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion azure_pipelines/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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
Expand Down
5 changes: 4 additions & 1 deletion azure_pipelines/templates/tests-with-conf-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ steps:
script: |
cd $(Agent.BuildDirectory)/s
- script: 'gem uninstall xcpretty -I --version 0.4.0'
displayName: 'Uninstall xcpretty v0.4.0'

- script: 'gem install xcpretty -v 0.3.0'
displayName: 'Install xcpretty'
displayName: 'Install xcpretty v0.3.0'

- task: AzureCLI@2
displayName: 'Read configuration from KeyVault'
Expand Down

0 comments on commit 3170a7f

Please sign in to comment.