Skip to content

Commit

Permalink
chore: changed android build command based on type
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciosantise committed Apr 26, 2024
1 parent f551963 commit 9337d0d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release-android-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-wallet-android-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-wallet-ios-production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9337d0d

Please sign in to comment.