Skip to content

Commit 9e83d15

Browse files
authored
feat: Upload xcodebuild logs for common SPM workflow (#15602)
1 parent 5a7d96e commit 9e83d15

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/common.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,9 @@ jobs:
123123
${{ inputs.target }} \
124124
${{ matrix.platform }} \
125125
${{ (contains(inputs.buildonly_platforms, matrix.platform) || contains(inputs.buildonly_platforms, 'all')) && 'spmbuildonly' || 'spm' }}
126+
- uses: actions/upload-artifact@v4
127+
if: ${{ failure() }}
128+
with:
129+
name: xcodebuild-logs-${{ inputs.target }}-${{ matrix.platform }}-${{ matrix.os }}-${{ matrix.xcode }}
130+
path: xcodebuild-*.log
131+
if-no-files-found: error

0 commit comments

Comments
 (0)