-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (30 loc) · 1002 Bytes
/
Copy pathrelease-ipa.yml
File metadata and controls
32 lines (30 loc) · 1002 Bytes
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
name: Release to Apple
on:
workflow_dispatch:
jobs:
release-app-ipa:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
shell: bash
- name: 🏗 Setup EAS
uses: expo/expo-github-action@v8
with:
expo-version: latest
eas-version: latest
expo-cache: true
# Create personal access token https://expo.dev/settings/access-tokens
token: ${{ secrets.EXPO_TOKEN }}
- name: Build iOS app
run: eas build --local -p ios --profile production --non-interactive --output app.ipa
- name: 'Upload app to TestFlight'
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 }}