Skip to content

Commit

Permalink
CI: Don't fail a build if upload to Sentry failed (#3978)
Browse files Browse the repository at this point in the history
The Sentry upload is optional.

Except when we're trying to publish a release.

Also, increase the log level to possibly find out why the upload appears
to have failed with "error: Invalid checksum" last time.
  • Loading branch information
bjorn committed Jun 20, 2024
1 parent 6cbba31 commit 3164d6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,12 @@ jobs:
- name: Upload symbols and sources to Sentry
if: github.repository == 'mapeditor/tiled' && github.event_name == 'push'
continue-on-error: ${{ needs.version.outputs.release == 'false' }}
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: |
curl -sL https://sentry.io/get-cli/ | bash
sentry-cli upload-dif --include-sources src .
sentry-cli upload-dif --log-level=info --include-sources src .
- name: Build AppImage
run: |
Expand Down

0 comments on commit 3164d6b

Please sign in to comment.