Skip to content

Commit 330c613

Browse files
committed
upload cap_desktop.pdb to sentry
1 parent cf5cbf4 commit 330c613

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,23 @@ 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' }}
224224
env:
225225
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
226226
working-directory: target
227227
run: |
228228
curl -sL https://sentry.io/get-cli/ | bash
229229
sentry-cli debug-files upload -o ${{ env.SENTRY_ORG }} -p ${{ env.SENTRY_PROJECT }} Cap.dSYM
230230
231+
- name: Upload debug symbols to Sentry
232+
if: ${{ runner.os == 'Windows' }}
233+
env:
234+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
235+
working-directory: target
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 }} release/cap_desktop.pdb
239+
231240
done:
232241
needs: [draft, build]
233242
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)