Skip to content

Commit 83bbacb

Browse files
authored
add minidump via sentry-tauri (#1053)
* add minidump via sentry-tauri * upload cap_desktop.pdb to sentry * save all logs to dedicated logging directory * final fixes
1 parent 795e495 commit 83bbacb

File tree

5 files changed

+648
-70
lines changed

5 files changed

+648
-70
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,13 +220,22 @@ jobs:
220220
TAURI_BUNDLE_PATH: ../..
221221

222222
- name: Upload debug symbols to Sentry
223-
if: ${{ matrix.settings.runner == 'macos-latest' }}
223+
if: ${{ runner.os == 'macOS' }}
224+
shell: bash
224225
env:
225226
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
226-
working-directory: target
227227
run: |
228228
curl -sL https://sentry.io/get-cli/ | bash
229-
sentry-cli debug-files upload -o ${{ env.SENTRY_ORG }} -p ${{ env.SENTRY_PROJECT }} Cap.dSYM
229+
sentry-cli debug-files upload -o ${{ env.SENTRY_ORG }} -p ${{ env.SENTRY_PROJECT }} target/Cap.dSYM
230+
231+
- name: Upload debug symbols to Sentry
232+
if: ${{ runner.os == 'Windows' }}
233+
shell: bash
234+
env:
235+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
236+
run: |
237+
curl -sL https://sentry.io/get-cli/ | bash
238+
sentry-cli debug-files upload -o ${{ env.SENTRY_ORG }} -p ${{ env.SENTRY_PROJECT }} target/${{ matrix.settings.target }}/release/cap_desktop.pdb
230239
231240
done:
232241
needs: [draft, build]

0 commit comments

Comments
 (0)