-
Notifications
You must be signed in to change notification settings - Fork 15
41 lines (35 loc) · 1.39 KB
/
build-mobile.yml
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
name: Build mobile wallet with EAS
on:
workflow_dispatch:
inputs:
platform:
description: Platform to build for
type: choice
required: true
default: android
options:
- android
- ios-registered-devices
- ios-testflight
jobs:
eas-build:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repository
uses: actions/checkout@v4
- name: 🏗 Setup monorepo
uses: ./.github/actions/setup-monorepo
with:
expo-token: ${{ secrets.EXPO_TOKEN }}
- name: 🤖 Build and submit Android draft release on internal track
if: ${{ github.event.inputs.platform == 'android' }}
working-directory: apps/mobile-wallet
run: eas build --platform=android --profile=production --non-interactive --wait --auto-submit
- name: 🍏📱 Build iOS internal release for registered devices only
if: ${{ github.event.inputs.platform == 'ios-registered-devices' }}
working-directory: apps/mobile-wallet
run: eas build --platform=ios --profile=internal --non-interactive --wait
- name: 🍏✈️ Build and submit iOS TestFlight release
if: ${{ github.event.inputs.platform == 'ios-testflight' }}
working-directory: apps/mobile-wallet
run: eas build --platform=ios --profile=production --non-interactive --wait --auto-submit