docs: README에 트러블 슈팅 추가 #99
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: UploadTestFlight | |
on: | |
push: | |
branches: [ develop, epic/CD ] | |
jobs: | |
upload_testflight: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 15.4.0 | |
- uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_KEY }} | |
known_hosts: ${{ secrets.KNOWN_HOSTS }} | |
- name: Install Tuist | |
run: brew tap tuist/tuist | |
- run: brew install --formula [email protected] | |
- run: tuist version | |
- name: Install Fastlane | |
run: brew install fastlane | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 | |
- name: Tuist clean | |
run: tuist clean | |
- name: Tuist fetch | |
run: tuist fetch | |
- name: Set Keychain | |
run: fastlane set_keychain | |
env: | |
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} | |
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | |
- name: Setting Xcconfig | |
run: | | |
echo "NAVER_OCR_KEY = $NAVER_OCR_KEY" > Projects/App/Resources/APIKey.xcconfig | |
env: | |
NAVER_OCR_KEY: ${{secrets.NAVER_OCR_KEY}} | |
- name: Tuist generate | |
run: tuist generate | |
- run: fastlane tf | |
env: | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} | |
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | |
FASTLANE_API_KEY_ID: ${{ secrets.FASTLANE_API_KEY_ID }} | |
FASTLANE_API_KEY_ISSUER_ID: ${{ secrets.FASTLANE_API_KEY_ISSUER_ID }} | |
FASTLANE_API_KEY_CONTENT: ${{ secrets.FASTLANE_API_KEY_CONTENT }} | |
SLACK_HOOK_URL: ${{ secrets.SLACK_HOOK_URL }} |