-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (34 loc) · 1 KB
/
ios.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 and Deploy"
on:
push:
tags:
- v*
workflow_dispatch: {}
env:
EAS_BUILD_ARGS: --non-interactive --profile production --local
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "20.x"
- name: Setup Expo
uses: expo/expo-github-action@v7
with:
token: ${{ secrets.EXPO_TOKEN }}
expo-version: latest
eas-version: latest
- name: Install dependencies
run: npm install
- name: Build app for IOS
run: eas build --output ./app.ipa --platform ios ${{ env.EAS_BUILD_ARGS }}
- name: Upload to App Store Connect
uses: apple-actions/upload-testflight-build@v1
with:
app-path: "./app.ipa"
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}