refactor(build): always enable Sentry and set environment

Thx Static-Var my beloved
This commit is contained in:
Harsh Shandilya 2024-03-16 09:56:40 +05:30
parent 85fc5cac21
commit 5ba0c9a544
7 changed files with 30 additions and 16 deletions

View file

@ -70,7 +70,7 @@ jobs:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: |
./gradlew --no-configuration-cache collectReleaseApks collectReleaseBundle -PsentryUploadMappings
./gradlew --no-configuration-cache collectReleaseApks collectReleaseBundle -PenableSentry
- name: Clean secrets
run: scripts/signing-cleanup.sh

View file

@ -35,7 +35,7 @@ jobs:
run: |
./scripts/setup-age.sh
./scripts/signing-setup.sh "$AGE_SECRET_KEY"
./gradlew --no-configuration-cache --stacktrace -PsentryUploadMappings collectReleaseBundle
./gradlew --no-configuration-cache --stacktrace -PenableSentry collectReleaseBundle
./scripts/signing-cleanup.sh
env:
AGE_SECRET_KEY: ${{ secrets.AGE_SECRET_KEY }}