-
Notifications
You must be signed in to change notification settings - Fork 2
59 lines (47 loc) · 1.51 KB
/
main.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
51
52
53
54
55
56
57
58
59
name: UploadTestFlight
on:
push:
branches: [ develop ]
jobs:
upload_testflight:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.4.0
- name: Setting Master Key
run: |
echo "$MASTER_KEY" > Tuist/master.key
env:
MASTER_KEY: ${{secrets.MASTER_KEY}}
- name: Install Tuist
run: brew tap tuist/tuist
- run: brew install --formula [email protected]
- run: tuist version
- name: Install Fastlane
run: brew install fastlane
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- name: Tuist clean
run: tuist clean
- name: Tuist fetch
run: tuist fetch
- name: Tuist Signing Decrypt
run: tuist signing decrypt
- name: Set Keychain
run: fastlane set_keychain
env:
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
- name: Tuist generate
run: tuist generate
- run: fastlane tf
env:
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
FASTLANE_API_KEY_ID: ${{ secrets.FASTLANE_API_KEY_ID }}
FASTLANE_API_KEY_ISSUER_ID: ${{ secrets.FASTLANE_API_KEY_ISSUER_ID }}
SLACK_HOOK_URL: ${{ secrets.SLACK_HOOK_URL }}