From 3fc0f891d4b8edeff414fafda8395b690eefd19f Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 28 Jan 2024 14:04:03 +0530 Subject: [PATCH] fix(ci): setup signing secrets in Tramline workflow --- .github/workflows/tramline-release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tramline-release.yml b/.github/workflows/tramline-release.yml index b7d22fa7..8757385b 100644 --- a/.github/workflows/tramline-release.yml +++ b/.github/workflows/tramline-release.yml @@ -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 }}