Skip to content

Commit 326984b

Browse files
authored
ci: Upload logs if Build SDK v9 fails (#5979)
1 parent 5db87fa commit 326984b

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,21 @@ jobs:
157157
runs-on: macos-15
158158
steps:
159159
- uses: actions/checkout@v5
160-
161160
- run: ./scripts/ci-select-xcode.sh 16.4
162-
- run: ./scripts/sentry-xcodebuild.sh --platform iOS --os 18.5 --device "iPhone 16" --command build --configuration DebugV9
163-
161+
- run: |
162+
./scripts/sentry-xcodebuild.sh \
163+
--platform iOS \
164+
--os 18.5 \
165+
--command build \
166+
--device "iPhone 16" \
167+
--configuration DebugV9
168+
- name: Archiving Raw Build Logs
169+
uses: actions/upload-artifact@v4
170+
if: ${{ failure() || cancelled() }}
171+
with:
172+
name: raw-build-output-v9
173+
path: |
174+
raw-build-output.log
164175
- name: Debug Xcode environment
165176
if: ${{ failure() || cancelled() }}
166177
run: ./scripts/ci-diagnostics.sh

0 commit comments

Comments
 (0)