Skip to content

Commit b0fe0e0

Browse files
authored
chore(ci): Catch xcodebuild log on failure for watchOS sample build in messaging.yml (#15237)
1 parent ca537d9 commit b0fe0e0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/messaging.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,4 +240,10 @@ jobs:
240240
run: sudo xcode-select -s /Applications/Xcode_16.4.app/Contents/Developer
241241
- name: Build
242242
run: ([ -z $plist_secret ] || scripts/build.sh MessagingSampleStandaloneWatchApp watchOS)
243+
- name: Upload xcodebuild logs
244+
if: failure()
245+
uses: actions/upload-artifact@v4
246+
with:
247+
name: xcodebuild-logs-${{ matrix.target }}
248+
path: xcodebuild-*.log
243249

0 commit comments

Comments
 (0)