Skip to content

Commit d53f121

Browse files
committed
Uninstall xcpretty version 0.4.0 before installing version 0.3.0
1 parent 04cab7c commit d53f121

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

azure_pipelines/pr-validation.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,13 @@ jobs:
5050
/bin/bash -c "sudo xcode-select -s /Applications/Xcode_15.4.app"
5151
displayName: 'Switch to use Xcode 15.4'
5252
- task: CmdLine@2
53-
displayName: Installing xcpretty
53+
displayName: Uninstalling xcpretty v0.4.0
54+
inputs:
55+
script: |
56+
gem uninstall xcpretty -I --version 0.4.0
57+
failOnStderr: false
58+
- task: CmdLine@2
59+
displayName: Installing xcpretty v0.3.0
5460
inputs:
5561
script: |
5662
gem install xcpretty -N -v 0.3.0

azure_pipelines/templates/tests-with-conf-file.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ steps:
2626
script: |
2727
cd $(Agent.BuildDirectory)/s
2828
29+
- script: 'gem uninstall xcpretty -I --version 0.4.0'
30+
displayName: 'Uninstall xcpretty v0.4.0'
31+
2932
- script: 'gem install xcpretty -v 0.3.0'
30-
displayName: 'Install xcpretty'
33+
displayName: 'Install xcpretty v0.3.0'
3134

3235
- task: AzureCLI@2
3336
displayName: 'Read configuration from KeyVault'

0 commit comments

Comments
 (0)