Skip to content

Commit 763cc9b

Browse files
Merge branch 'main' into effect-upload-button
2 parents 55d073a + 2137416 commit 763cc9b

File tree

38 files changed

+1865
-312
lines changed

38 files changed

+1865
-312
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,23 @@ jobs:
219219
env:
220220
TAURI_BUNDLE_PATH: ../..
221221

222+
- uses: matbour/setup-sentry-cli@8ef22a4ff03bcd1ebbcaa3a36a81482ca8e3872e
223+
224+
- name: Upload debug symbols to Sentry
225+
if: ${{ runner.os == 'macOS' }}
226+
shell: bash
227+
env:
228+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
229+
run: |
230+
sentry-cli debug-files upload -o ${{ env.SENTRY_ORG }} -p ${{ env.SENTRY_PROJECT }} target/Cap.dSYM
231+
222232
- name: Upload debug symbols to Sentry
223-
if: ${{ matrix.settings.runner == 'macos-latest' }}
233+
if: ${{ runner.os == 'Windows' }}
234+
shell: bash
224235
env:
225236
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
226-
working-directory: target
227237
run: |
228-
curl -sL https://sentry.io/get-cli/ | bash
229-
sentry-cli debug-files upload -o ${{ env.SENTRY_ORG }} -p ${{ env.SENTRY_PROJECT }} Cap.dSYM
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)