From 1d0de2cc6693e4dee974f44a0b2aa7c3a3a5df83 Mon Sep 17 00:00:00 2001 From: Jiwoong CHOI Date: Sat, 14 Sep 2024 00:13:15 +0900 Subject: [PATCH] =?UTF-8?q?[Feat]=20=EC=A7=80=EC=86=8D=EC=A0=81=20?= =?UTF-8?q?=ED=86=B5=ED=95=A9=20=EC=9B=8C=ED=81=AC=ED=94=8C=EB=A1=9C?= =?UTF-8?q?=EC=9A=B0=20=EA=B5=AC=EC=B6=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/continuous-integration.yml | 49 ++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/continuous-integration.yml diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml new file mode 100644 index 00000000..b27f0afe --- /dev/null +++ b/.github/workflows/continuous-integration.yml @@ -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 \ No newline at end of file