[QA] GitHub Action이 동작하는 사항을 확인해주세요. #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Tests | |
on: | |
push: | |
branches: | |
- build-test | |
pull_request: | |
branches: | |
- qa | |
jobs: | |
Build_Test: | |
runs-on: macos-latest | |
environment: Configuration File Secrets | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jdx/mise-action@v2 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3.0 | |
- name: Install Fastlane | |
run: | | |
gem install fastlane | |
- name: Install Ruby Dependencies | |
run: | | |
bundle install | |
- name: Create Release & Debug Configuration Files | |
env: | |
BASE_DOMAIN: ${{ secrets.BASE_DOMAIN }} | |
run: | | |
echo "Base_Domain = $BASE_DOMAIN" >> Release.xcconfig | |
cat Release.xcconfig | |
mv Release.xcconfig BudgetBuddiesApp/BudgetBuddiesApp/Resources | |
echo "Base_Domain = $BASE_DOMAIN" >> Debug.xcconfig | |
cat Debug.xcconfig | |
mv Debug.xcconfig BudgetBuddiesApp/BudgetBuddiesApp/Resources | |
- name: Install Dependencies | |
run: | | |
tuist install | |
- name: Build Project | |
run: | | |
tuist build |