-
Notifications
You must be signed in to change notification settings - Fork 9
42 lines (33 loc) · 1.04 KB
/
production-android.yml
File metadata and controls
42 lines (33 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Commit to `production-android` branch → build with EAS
name: production-android → build Android app
on:
push:
branches:
- production-android
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repository
uses: actions/checkout@v3
- name: 🏗 Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: yarn
- name: 🏗 Setup Expo and EAS
uses: expo/expo-github-action@v8
with:
expo-version: latest
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: 📦 Install dependencies
run: yarn install
- name: 🚀 Publish app to Expo/EAS
uses: expo/expo-github-action/preview@v8
with:
command: eas update --auto
- name: 🛠️ Build app
run: EAS_BUILD_AUTOCOMMIT=1 eas build --non-interactive --profile production --platform android
- name: 🚚 Submit app to TestFlight
run: eas submit --latest --platform android