Skip to content

Commit 4012489

Browse files
committed
CI: Add github-actions renderer options to xcbeautify
1 parent f674d17 commit 4012489

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/scripts/.build.zsh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,11 @@ build() {
138138
if (( debug )) {
139139
xcodebuild ${@}
140140
} else {
141-
xcodebuild ${@} 2>&1 | xcbeautify
141+
if [[ ${GITHUB_EVENT_NAME} == push ]] {
142+
xcodebuild ${@} 2>&1 | xcbeautify --renderer terminal
143+
} else {
144+
xcodebuild ${@} 2>&1 | xcbeautify --renderer github-actions
145+
}
142146
}
143147
}
144148

0 commit comments

Comments
 (0)