-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathtestflight-distribution.yml
More file actions
43 lines (37 loc) · 1.29 KB
/
Copy pathtestflight-distribution.yml
File metadata and controls
43 lines (37 loc) · 1.29 KB
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
name: Testflight Distribution
on:
push:
branches:
- 'main'
jobs:
build-and-distribute-to-testflight:
runs-on: macos-latest
steps:
- name: Checkout repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Setup Node
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6
with:
node-version: 24
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install pods
run: pnpm --filter MobileHost pods
- name: Run fastlane TestFlight distribution lane
working-directory: 'apps/mobile-host/ios'
env:
APP_IDENTIFIER: ${{ secrets.APP_IDENTIFIER }}
APPLE_ID: ${{ secrets.APPLE_ID }}
KEY_ID: ${{ secrets.KEY_ID }}
ISSUER_ID: ${{ secrets.ISSUER_ID }}
KEY_CONTENT: ${{ secrets.KEY_CONTENT }}
GIT_URL: ${{ secrets.GIT_URL }}
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
BUILD_NUMBER: ${{ github.run_number }}
run: fastlane testflight_distribution