Skip to content

Commit

Permalink
Add dsym to release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fredemmott committed Dec 30, 2023
1 parent 59aef02 commit 5496f6d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,14 @@ jobs:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ${{runner.temp}}/artifacts/DebugSymbols-windows-RelWithDebInfo/sdmicmute.pdb
asset_name: sdmicmute.pdb
asset_content_type: application/octet-stream
- name: Attach dSYM Files
if: steps.ref.outputs.is-release == 'true'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create-release.outputs.upload_url }}
asset_path: ${{runner.temp}}/artifacts/sdmicmute-lipo-dsym
asset_name: sdmicmute.dSYM
asset_content_type: application/octet-stream
9 changes: 5 additions & 4 deletions .github/workflows/sdplugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,20 @@ jobs:
artifacts/MacOS-arm64-RelWithDebInfo/sdmicmute \
artifacts/MacOS-x86_64-RelWithDebInfo/sdmicmute \
-output sdmicmute
mkdir dsym
cp -R \
artifacts/DebugSymbols-macos-arm64-RelWithDebInfo.dSYM \
sdmicmute.dSYM
dsym/sdmicmute.dSYM
DSYM_FILE=Contents/Resources/DWARF/sdmicmute
rm sdmicmute.dSYM/${DSYM_FILE}
lipo -create \
artifacts/*.dSYM/${DSYM_FILE} \
-output sdmicmute.dSYM/${DSYM_FILE}
-output dsym/sdmicmute.dSYM/${DSYM_FILE}
- name: Upload MacOS debug symbols
uses: actions/upload-artifact@v4
with:
name: sdmicmute.dSYM
path: ${{runner.temp}}/sdmicmute.dSYM
name: sdmicmute-lipo-dsym
path: ${{runner.temp}}/dsym
- name: Copy executables
working-directory: ${{runner.temp}}
run: |
Expand Down

0 comments on commit 5496f6d

Please sign in to comment.