Skip to content

Commit

Permalink
[Feat] 지속적 통합 워크플로우 구축
Browse files Browse the repository at this point in the history
  • Loading branch information
jayn2u committed Sep 13, 2024
1 parent a25d3b0 commit 1d0de2c
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Continuous Integration

on:
pull_request:
branches:
- develop

jobs:
Continuous_Integration:
runs-on: macos-latest
environment: Configuration Files
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2

- name: Install Tuist
run: |
bash <(curl -Ls https://install.tuist.io)
- name: Create Release & Debug Configuration Files
env:
BASE_URL: ${{ secrets.BASE_URL }}
KAKAO_API_KEY: ${{ secrets.KAKAO_API_KEY }}
run: |
echo "// Configuration settings file format documentation can be found at:" > Release.xcconfig
echo "// https://help.apple.com/xcode/#/dev745c5c974" >> Release.xcconfig
echo "// API 엔드 포인트 주소" >> Release.xcconfig
echo "BASE_URL = $BASE_URL" >> Release.xcconfig
echo "// 카카오 API 키" >> Release.xcconfig
echo "KAKAO_API_KEY = $KAKAO_API_KEY" >> Release.xcconfig
cat Release.xcconfig
mv Release.xcconfig EATSSU_MVC/EATSSU_MVC/Resources
echo "// Configuration settings file format documentation can be found at:" > Debug.xcconfig
echo "// https://help.apple.com/xcode/#/dev745c5c974" >> Debug.xcconfig
echo "// API 엔드 포인트 주소" >> Debug.xcconfig
echo "BASE_URL = $BASE_URL" >> Debug.xcconfig
echo "// 카카오 API 키" >> Debug.xcconfig
echo "KAKAO_API_KEY = $KAKAO_API_KEY" >> Debug.xcconfig
cat Debug.xcconfig
mv Debug.xcconfig EATSSU_MVC/EATSSU_MVC/Resources
- name: Install Dependencies
run: |
tuist install
- name: Build Project
run: |
tuist build

0 comments on commit 1d0de2c

Please sign in to comment.