Skip to content

Commit ae1ce00

Browse files
committed
Merge branch 'main' into staging
2 parents c16116d + 64bf989 commit ae1ce00

File tree

152 files changed

+4147
-2422
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+4147
-2422
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)