Skip to content

Expo EAS Android Production Build #14

Expo EAS Android Production Build

Expo EAS Android Production Build #14

Workflow file for this run

name: Expo EAS Android Production Build
on:
push:
branches:
- main
paths:
- 'app/**'
tags:
- 'v*'
workflow_dispatch:
inputs:
wait:
description: 'Wait for build to complete in GitHub Actions log'
required: false
type: boolean
default: false
jobs:
build:
name: Build Android Production APK
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Setup Expo and EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Build Android Production on EAS
working-directory: app
run: |
WAIT_FLAG="--no-wait"
if [ "${{ inputs.wait }}" = "true" ]; then
WAIT_FLAG="--wait"
fi
eas build --platform android --profile production --non-interactive $WAIT_FLAG