-
Notifications
You must be signed in to change notification settings - Fork 208
48 lines (43 loc) · 1.78 KB
/
build.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
name: Build & Deploy to TestFlight
on:
push:
branches: [main]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
name: Deploying to TestFlight
runs-on: macOS-13
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Deploy iOS Beta to TestFlight via Fastlane
run: fastlane beta
env:
APP_STORE_CONNECT_TEAM_ID: "${{ secrets.APP_STORE_CONNECT_TEAM_ID }}"
DEVELOPER_APP_ID: "${{ secrets.DEVELOPER_APP_ID }}"
DEVELOPER_APP_IDENTIFIER: "${{ secrets.DEVELOPER_APP_IDENTIFIER }}"
DEVELOPER_APP_EXTENSION_IDENTIFIER: "${{ secrets.DEVELOPER_APP_EXTENSION_IDENTIFIER }}"
DEVELOPER_PORTAL_TEAM_ID: "${{ secrets.DEVELOPER_PORTAL_TEAM_ID }}"
FASTLANE_APPLE_ID: "${{ secrets.FASTLANE_APPLE_ID }}"
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: "${{ secrets.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD }}"
MATCH_PASSWORD: "${{ secrets.MATCH_PASSWORD }}"
GIT_AUTHORIZATION: "${{ secrets.GIT_AUTHORIZATION }}"
PROVISIONING_PROFILE_SPECIFIER: "${{ secrets.PROVISIONING_PROFILE_SPECIFIER }}"
TEMP_KEYCHAIN_PASSWORD: "${{ secrets.TEMP_KEYCHAIN_PASSWORD }}"
TEMP_KEYCHAIN_USER: "${{ secrets.TEMP_KEYCHAIN_USER }}"
APPLE_KEY_ID: "${{ secrets.APPLE_KEY_ID }}"
APPLE_ISSUER_ID: "${{ secrets.APPLE_ISSUER_ID }}"
APPLE_KEY_CONTENT: "${{ secrets.APPLE_KEY_CONTENT }}"
JUDGE0_KEY: ""
JUDGE0_ENDPOINT: ""
DISTRIBUTE_EXTERNAL: "true"
XCODE_PATH: "/Applications/Xcode_14.3.1.app"
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: ipa-build
path: Code.ipa