fix(ci): setup signing secrets in Tramline workflow

This commit is contained in:
Harsh Shandilya 2024-01-28 14:04:03 +05:30
parent 74a7835a53
commit 3fc0f891d4
1 changed files with 6 additions and 1 deletions

View File

@ -32,8 +32,13 @@ jobs:
gradle-home-cache-cleanup: true
- name: Build release app
run: ./gradlew --no-configuration-cache --stacktrace collectReleaseBundle
run: |
./scripts/setup-age.sh
./scripts/signing-setup.sh "$AGE_SECRET_KEY"
./gradlew --no-configuration-cache --stacktrace collectReleaseBundle
./scripts/signing-cleanup.sh
env:
AGE_SECRET_KEY: ${{ secrets.AGE_SECRET_KEY }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ github.event.inputs.versionName }}
ORG_GRADLE_PROJECT_VERSION_CODE: ${{ github.event.inputs.versionCode }}