Skip to content

Run on commit c95c22995880458d8bd405011564f9a8e4e8ebaf #107

Run on commit c95c22995880458d8bd405011564f9a8e4e8ebaf

Run on commit c95c22995880458d8bd405011564f9a8e4e8ebaf #107

name: "[Build] staging APK"
run-name: "Run on commit ${{github.sha}}"
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