Skip to content

Commit 1d0de2c

Browse files
committed
[Feat] 지속적 통합 워크플로우 구축
1 parent a25d3b0 commit 1d0de2c

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Continuous Integration
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- develop
7+
8+
jobs:
9+
Continuous_Integration:
10+
runs-on: macos-latest
11+
environment: Configuration Files
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: jdx/mise-action@v2
15+
16+
- name: Install Tuist
17+
run: |
18+
bash <(curl -Ls https://install.tuist.io)
19+
20+
- name: Create Release & Debug Configuration Files
21+
env:
22+
BASE_URL: ${{ secrets.BASE_URL }}
23+
KAKAO_API_KEY: ${{ secrets.KAKAO_API_KEY }}
24+
run: |
25+
echo "// Configuration settings file format documentation can be found at:" > Release.xcconfig
26+
echo "// https://help.apple.com/xcode/#/dev745c5c974" >> Release.xcconfig
27+
echo "// API 엔드 포인트 주소" >> Release.xcconfig
28+
echo "BASE_URL = $BASE_URL" >> Release.xcconfig
29+
echo "// 카카오 API 키" >> Release.xcconfig
30+
echo "KAKAO_API_KEY = $KAKAO_API_KEY" >> Release.xcconfig
31+
cat Release.xcconfig
32+
mv Release.xcconfig EATSSU_MVC/EATSSU_MVC/Resources
33+
34+
echo "// Configuration settings file format documentation can be found at:" > Debug.xcconfig
35+
echo "// https://help.apple.com/xcode/#/dev745c5c974" >> Debug.xcconfig
36+
echo "// API 엔드 포인트 주소" >> Debug.xcconfig
37+
echo "BASE_URL = $BASE_URL" >> Debug.xcconfig
38+
echo "// 카카오 API 키" >> Debug.xcconfig
39+
echo "KAKAO_API_KEY = $KAKAO_API_KEY" >> Debug.xcconfig
40+
cat Debug.xcconfig
41+
mv Debug.xcconfig EATSSU_MVC/EATSSU_MVC/Resources
42+
43+
- name: Install Dependencies
44+
run: |
45+
tuist install
46+
47+
- name: Build Project
48+
run: |
49+
tuist build

0 commit comments

Comments
 (0)