This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
fix: toast on insufficient balance #1315
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mobile Dev Action Android | |
defaults: | |
run: | |
working-directory: apps/expo | |
on: | |
pull_request: | |
branches: ["staging"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.x | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Expo prebuild | |
run: yarn E2E:build:android | |
- name: set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: "11" | |
distribution: "temurin" | |
cache: gradle | |
- name: Build apk | |
run: | | |
cd android/ && chmod +x ./gradlew && FLIPPER_DISABLE=1 E2E=true STAGE=development ./gradlew assembleRelease \ | |
echo "APK_PATH=$(pwd)/app/build/outputs/apk/release/app-release.apk" >>$GITHUB_ENV | |
- uses: mobile-dev-inc/action-maestro-cloud@v1 | |
with: | |
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }} | |
app-file: ${{ env.APK_PATH }} | |
env: | | |
PLATFORM=android |