Skip to content

[Build] staging APK #90

[Build] staging APK

[Build] staging APK #90

name: "[Build] staging APK"
on: workflow_dispatch
jobs:
build:
name: Install and build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn
- name: Setup Expo and EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Install dependencies
run: yarn workspaces focus @vexl-next/mobile-app
- name: Decode Google Service Account key
env:
GOOGLE_SERVICE_ACCOUNT: ${{ secrets.GOOGLE_SERVICE_ACCOUNT }}
run: |
mkdir apps/mobile/credentials && echo $GOOGLE_SERVICE_ACCOUNT > apps/mobile/credentials/google.json
- name: Build on EAS
run: eas build --platform android --profile stagingApk --non-interactive --no-wait
working-directory: apps/mobile