File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -105,15 +105,15 @@ esac
105
105
# Source function to check if CI secrets are available.
106
106
source scripts/check_secrets.sh
107
107
108
- # Runs xcodebuild with the given flags, piping output to xcpretty
108
+ # Runs xcodebuild with the given flags, piping output to xcbeautify
109
109
# If xcodebuild fails with known error codes, retries once.
110
110
function RunXcodebuild() {
111
111
echo xcodebuild " $@ "
112
112
113
- xcpretty_cmd=(xcpretty )
113
+ xcbeautify_cmd=(xcbeautify --renderer github-actions )
114
114
115
115
result=0
116
- xcodebuild " $@ " | tee xcodebuild.log | " ${xcpretty_cmd [@]} " || result=$?
116
+ xcodebuild " $@ " | tee xcodebuild.log | " ${xcbeautify_cmd [@]} " || result=$?
117
117
118
118
if [[ $result == 65 ]]; then
119
119
ExportLogs " $@ "
@@ -122,7 +122,7 @@ function RunXcodebuild() {
122
122
sleep 5
123
123
124
124
result=0
125
- xcodebuild " $@ " | tee xcodebuild.log | " ${xcpretty_cmd [@]} " || result=$?
125
+ xcodebuild " $@ " | tee xcodebuild.log | " ${xcbeautify_cmd [@]} " || result=$?
126
126
fi
127
127
128
128
if [[ $result != 0 ]]; then
You can’t perform that action at this time.
0 commit comments