Skip to content

chore: add github action for android #1

chore: add github action for android

chore: add github action for android #1

Workflow file for this run

name: EAS Android Build
on:
push:
workflow_dispatch:
jobs:
build:
name: Install and build
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Install dependencies
run: npm install
- name: Build Android
run: eas build --local --platform android --non-interactive
- name: Upload APK artifact
uses: actions/upload-artifact@v3
with:
name: app-release
path: build-*.apk