ci: Upload Android symbols to Sentry (#8111)

Related: #8050
This commit is contained in:
Jamil
2025-02-12 12:49:54 -08:00
committed by GitHub
parent 8952eabe5a
commit 316ba6ddc3

View File

@@ -73,6 +73,16 @@ jobs:
echo -n "$KEYSTORE_BASE64" | base64 --decode > "$KEYSTORE_PATH"
${{ matrix.build-command }}
rm "$KEYSTORE_PATH"
- name: Setup sentry CLI
if: "${{ github.event_name == 'workflow_dispatch' }}"
uses: matbour/setup-sentry-cli@3e938c54b3018bdd019973689ef984e033b0454b #v2.0.0
with:
token: ${{ secrets.SENTRY_AUTH_TOKEN }}
organization: firezone-inc
- name: Upload debug symbols to Sentry
if: "${{ github.event_name == 'workflow_dispatch' }}"
run: |
sentry-cli debug-files upload --log-level info --project android-client --include-sources ../../rust/target
- name: Run Unit Test
run: |
./gradlew testReleaseUnitTest