Skip to content

Commit

Permalink
CI: Include dSYMs in release for macOS dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jcm93 committed Jan 20, 2025
1 parent 994fbc4 commit 8760311
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -640,18 +640,16 @@ jobs:
for arch in arm64 x86_64 universal; do
_temp=$(mktemp -d)
pushd "${_temp}" > /dev/null
for artifact in ${GITHUB_WORKSPACE}/**/macos-@(deps|ffmpeg)-!(qt6*)-${arch}.*; do
for artifact in ${GITHUB_WORKSPACE}/**/macos-@(deps|ffmpeg)-!(qt6*)-${arch}?(-dSYMs).*; do
case ${artifact} in
*.zip) unzip -o ${artifact} > /dev/null ;;
*.tar.xz) XZ_OPT=-T0 tar -xvJf ${artifact} ;;
*.tar.gz) tar -xvzf ${artifact} ;;
esac
done
XZ_OPT=-T0 tar -cvJf macos-deps-${{ steps.metadata.outputs.version }}-${arch}.tar.xz -- *
mv macos-deps-${{ steps.metadata.outputs.version }}-${arch}.tar.xz ${GITHUB_WORKSPACE}
XZ_OPT=-T0 tar -cvJf macos-deps-${{ steps.metadata.outputs.version }}-${arch}.tar.xz -- !(*.dSYM)
XZ_OPT=-T0 tar -cvJf macos-deps-${{ steps.metadata.outputs.version }}-${arch}-dSYMs.tar.xz -- *.dSYM
mv macos-deps-${{ steps.metadata.outputs.version }}-${arch}?(-dSYMs).tar.xz ${GITHUB_WORKSPACE}
popd > /dev/null
done
Expand All @@ -678,6 +676,6 @@ jobs:
files: |
${{ github.workspace }}/windows-*-x64*.zip
${{ github.workspace }}/windows-*-x86*.zip
${{ github.workspace }}/macos-*-arm64.tar.xz
${{ github.workspace }}/macos-*-x86_64.tar.xz
${{ github.workspace }}/macos-*-universal.tar.xz
${{ github.workspace }}/macos-*-arm64?(-dSYMs).tar.xz
${{ github.workspace }}/macos-*-x86_64?(-dSYMs).tar.xz
${{ github.workspace }}/macos-*-universal?(-dSYMs).tar.xz

0 comments on commit 8760311

Please sign in to comment.