-
Notifications
You must be signed in to change notification settings - Fork 4
50 lines (41 loc) · 1.35 KB
/
build-ios-staging.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
43
44
45
46
47
48
49
50
name: iOS Staging Build
on:
push:
branches:
- dev
- v2
paths:
- package.json
- app.json
- "**.js"
- "src/**"
- "assets/**"
workflow_dispatch: ~
jobs:
build:
runs-on: macos-13
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
- name: Setup Expo
uses: expo/expo-github-action@v8
with:
expo-version: latest
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build iOS app
run: eas build --profile preview --platform ios --local --non-interactive --output ${{ github.workspace }}/app-release.ipa
- name: Upload IPA artifact
uses: actions/upload-artifact@v2
with:
name: app-release
path: ${{ github.workspace }}/app-release.ipa
- name: Submit to TestFlight
run: eas submit -p ios --path=${{ github.workspace }}/app-release.ipa