From 9337d0de3b1018166095a3af9e0c96c1857632cf Mon Sep 17 00:00:00 2001 From: ignaciosantise Date: Fri, 26 Apr 2024 18:34:58 -0300 Subject: [PATCH] chore: changed android build command based on type --- .github/workflows/release-android-base.yaml | 7 ++++++- .github/workflows/release-wallet-android-production.yaml | 2 +- .github/workflows/release-wallet-ios-production.yaml | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-android-base.yaml b/.github/workflows/release-android-base.yaml index c89c4e83..3455fcd8 100644 --- a/.github/workflows/release-android-base.yaml +++ b/.github/workflows/release-android-base.yaml @@ -92,7 +92,12 @@ jobs: run: echo ${{ env.google-services-file }} | base64 --decode >> ${{ inputs.root-path }}/android/app/google-services.json - name: Build APK - run: cd ${{ inputs.root-path }} && yarn install && yarn run android:build:internal + run: | + if [ "${{ inputs.release-type }}" = "internal" ]; then + cd ${{ inputs.root-path }} && yarn install && yarn run android:build:internal + else + cd ${{ inputs.root-path }} && yarn install && yarn run android:build + fi - name: Setup Firebase uses: w9jds/setup-firebase@main diff --git a/.github/workflows/release-wallet-android-production.yaml b/.github/workflows/release-wallet-android-production.yaml index f338c8c8..c17070ce 100644 --- a/.github/workflows/release-wallet-android-production.yaml +++ b/.github/workflows/release-wallet-android-production.yaml @@ -2,7 +2,7 @@ name: release-android-web3wallet-production on: workflow_dispatch jobs: - release-internal: + release-production: uses: ./.github/workflows/release-android-base.yaml with: name: Web3Wallet React Native diff --git a/.github/workflows/release-wallet-ios-production.yaml b/.github/workflows/release-wallet-ios-production.yaml index 4e118b73..b734859d 100644 --- a/.github/workflows/release-wallet-ios-production.yaml +++ b/.github/workflows/release-wallet-ios-production.yaml @@ -2,7 +2,7 @@ name: release-ios-web3wallet-production on: workflow_dispatch jobs: - release-internal: + release-production: uses: ./.github/workflows/release-ios-base.yaml with: name: Web3Wallet React Native