-
Notifications
You must be signed in to change notification settings - Fork 16
42 lines (36 loc) · 1.38 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
42
name: Build mobile wallet with EAS
on:
pull_request:
workflow_dispatch:
inputs:
platform:
description: Platform to build for
type: choice
required: true
default: android
options:
- android
- ios-internal
- ios-testflight
jobs:
eas-build:
runs-on: ubuntu-latest
steps:
- name: 🏗 Setup repository
uses: actions/checkout@v3
- 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-internal' }}
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