diff options
| author | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-09-03 18:30:03 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-03 18:30:03 +0300 |
| commit | 0c922b6351fa7c777077f9e3a1c7e0a84ef7200c (patch) | |
| tree | b1ee832196c4b4e687d5d8af2f635e4187f45e85 | |
| parent | a4aa5233cad1fb66555e7768750af1b57bc1da7c (diff) | |
#6245 Fix symbol upload to use xcarchive correctly
| -rw-r--r-- | .github/workflows/build.yaml | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d19c2f1c02..cfce3b06b7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -488,6 +488,8 @@ jobs: node-version: "22" dumpSyms: false + # Upload can be failure prone and we might need to reupload in some cases, + # Keep upload as a separate job, to not require full rebuild on upload failure. post-mac-symbols: env: BUGSPLAT_DATABASE: "${{ secrets.BUGSPLAT_DATABASE }}" @@ -502,6 +504,20 @@ jobs: uses: actions/download-artifact@v8 with: name: macOS-symbols + - name: Extract dSYM bundles + if: env.BUGSPLAT_DATABASE && env.SYMBOL_UPLOAD_CLIENT_ID + shell: bash + run: | + mkdir -p _mac_symbols + shopt -s nullglob globstar + archives=( **/*.xcarchive.zip ) + if [ ${#archives[@]} -eq 0 ]; then + echo "No .xcarchive.zip archives found in downloaded macOS-symbols artifact" + exit 1 + fi + for archive in "${archives[@]}"; do + unzip -q "$archive" -d _mac_symbols + done - name: Post Mac symbols if: env.BUGSPLAT_DATABASE && env.SYMBOL_UPLOAD_CLIENT_ID uses: BugSplat-Git/symbol-upload@3857759bd957dadb075509a4e951f04f9baa5ea3 @@ -511,8 +527,8 @@ jobs: database: "${{ env.BUGSPLAT_DATABASE }}" application: ${{ needs.build.outputs.viewer_channel }} version: ${{ needs.build.outputs.viewer_version }} (${{ needs.build.outputs.viewer_version }}) - directory: . - files: "**/*.xcarchive.zip" + directory: _mac_symbols + files: "**/*.dSYM" node-version: "22" dumpSyms: false |
