From f1c618909b3599605f1fb64c2f56d532d748fb87 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Thu, 27 Mar 2025 01:30:44 +0530 Subject: [PATCH] fix(ci): migrate to tramlinehq/deploy-action --- .github/workflows/tramline-release.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tramline-release.yml b/.github/workflows/tramline-release.yml index 827a1ebe..870ae5d2 100644 --- a/.github/workflows/tramline-release.yml +++ b/.github/workflows/tramline-release.yml @@ -3,14 +3,9 @@ name: Android release build on: workflow_dispatch: inputs: - versionName: - description: 'User-facing release version name' - required: true - default: "" - versionCode: - description: 'versionCode or build number' - required: true - default: '' + tramline-input: + description: "Tramline input" + required: false jobs: signed-build: @@ -21,6 +16,12 @@ jobs: with: cache-read-only: true + - name: Configure Tramline + id: tramline + uses: tramlinehq/deploy-action@v0.1.7 + with: + input: ${{ github.event.inputs.tramline-input }} + - name: Build release app run: | ./scripts/setup-age.sh @@ -31,8 +32,8 @@ jobs: AGE_SECRET_KEY: ${{ secrets.AGE_SECRET_KEY }} SENTRY_DSN: ${{ secrets.SENTRY_DSN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - ORG_GRADLE_PROJECT_VERSION_NAME: ${{ github.event.inputs.versionName }} - ORG_GRADLE_PROJECT_VERSION_CODE: ${{ github.event.inputs.versionCode }} + ORG_GRADLE_PROJECT_VERSION_NAME: ${{ steps.tramline.outputs.version_name }} + ORG_GRADLE_PROJECT_VERSION_CODE: ${{ steps.tramline.outputs.version_code }} - name: Upload app bundle uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2