-
Notifications
You must be signed in to change notification settings - Fork 5
99 lines (73 loc) · 2.77 KB
/
swift.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
name: Bibbi
on:
push:
branches:
- develop
- feature/*
- fix/*
tags:
- "v*"
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
xcodebuild-scheme: ['App']
steps:
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
- name: Checkout branch
uses: actions/checkout@v3
- name: Bring Bibbi ignored file with Config
uses: actions/checkout@v3
with:
repository: depromeet/14th-team5-iOS-ignored
path: depromeet/14th-team5-iOS/14th-team5-iOS/XCConfig
token: ${{secrets.ACTION_TOKEN}}
- name: Setting Tuist Master Key
run: |
echo "$MASTER_KEY" > Tuist/master.key
env:
MASTER_KEY: ${{secrets.MASTER_KEY}}
- name: Install Tuist CLI
run: curl -Ls https://install.tuist.io| bash
- name: Install FastLane
run: brew install fastlane
- uses: actions/setup-ruby@v1
with:
ruby-version: 2.7
- name: Tuist Clean Command
run: tuist clean
- name: Tuist Fetch Command
run: tuist fetch
- name: Tuist Siging Decrept
run: tuist signing decrypt
- name: Tuist Folder Log
run: |
ls - al Tuist/Signing
- name: Fastalne setup Keychain
run: fastlane setup_keychain
env:
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
- name: Tuist generate Command
run: tuist generate
# - name: Tuist Build Command
# run: tuist build
# - run: fastlane upload_dev_to_testflight
# env:
# KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
# KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
# APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
# APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
# APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }}
# - name: bibbi app scheme output # Bibbi App Scheme Output Code
# run: xcodebuild -list -workspace "Bibbi.xcworkspace"
# - name: xcode build App 🛠️ # Bibbi App Build
# run: xcodebuild clean build -workspace "./Bibbi.xcworkspace" -scheme "${{ matrix.xcodebuild-scheme }}" -destination "platform=iOS Simulator,name=iPhone 13 mini,OS=latest"
# - name: Upload coverage to Codecov
# uses: codecov/[email protected]
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}