π¨ :: μ ν μΊ‘μ³ #32
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 ] # develop λΈλμΉμ | |
jobs: # μν¬νλ‘μ°μμ μ΄λ€ μμ λ€μ μνν μ§λ jobs ν€λ₯Ό ν΅ν΄μ μ€μ , jobs ν€μλ μ¬λ¬ κ°μ μμ μ μμ μλ³μ(ID)μ μμ μΈλΆ λ΄μ© κ°μ 맡ν(mapping) ννλ‘ νμλ₯Ό ν©λλ€. | |
upload_testflight: # upload_testflightλΌλ μλ³μλ₯Ό κ°λ μμ μ μμ± | |
runs-on: macos-latest # runs-on ν€λ₯Ό ν΅ν΄ ν΄λΉ μμ μ΄ μ΄λ νκ²½μμ λμκ°λμ§ | |
steps: #steps ν€λ₯Ό ν΅ν΄ μμ°¨μ μΈ μνν μμ λ¨κ³λ₯Ό μ μ΄λ νλλ λͺ μν΄μΌν©λλ€. | |
- uses: actions/checkout@v4 # μμ€ μ½λ λ΄λ €λ°κΈ° | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1 # xcode λ²μ 15.0.0μΌλ‘ μ ν νκΈ° | |
with: | |
xcode-version: latest-stable | |
- name: Bring ignored files # job μ΄λ¦ μ€μ | |
uses: actions/checkout@v4 # μμ€ μ½λ λ΄λ €λ°κΈ° | |
with: # μ΄λ² jobμμ μ¬μ©ν κ²λ€ | |
repository: PrintingAlley/PrintingAlley-ignored # λμ΄μ¬ λ ν¬λͺ (repository) | |
path: XCConfig # λμ΄μμ νμ¬ λ ν¬μ λ°°μΉν μμΉ | |
token: ${{ secrets.ACTION_TOKEN }} # private Repository μ κ·Όμ μν ν ν° | |
- name: Setting Master Key # tuist singingμμ μ¬μ©ν master.key μμ±νλ job | |
run: | # μ€ν λͺ λ Ή μ¬λ¬ λͺ λ μ΄ νλ² κ·Έλ£ΉμΌλ‘ μ€ννκΈ° μν νμ΄ν ꡬ문 | |
echo β Run Setting Master Key. | |
echo "$MASTER_KEY" > Tuist/master.key | |
env: #Repository secretsμ μ μ₯νλ λ³μλ€μ λΆλ¬μ΄ , runκ³Ό κ°μ κ³μΈ΅μΌλ‘ μΈλ΄νΈ | |
MASTER_KEY: ${{secrets.MASTER_KEY}} # λΆλ¬μ¨ κ°μ MASTER_KEYλΌλ λ³μμ λ΄μ $MASTER_KEYλ‘ λ°λ‘ μΈ μ μμ | |
- name: Install Tuist | |
run: | | |
echo β Install Tuist. | |
curl -Ls https://install.tuist.io|bash | |
- name: Install Fastlane | |
run: | | |
echo β Install Fastlane. | |
brew install fastlane | |
- name: Tuist clean | |
run: tuist clean | |
- name: Tuist fetch | |
run: tuist fetch | |
- name: Tuist Signing Decrypt | |
run: tuist signing decrypt | |
- name: Set Keychain | |
run: fastlane set_keychain | |
env: | |
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} | |
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | |
- name: Tuist generate | |
run: tuist generate | |
- run: fastlane beta | |
env: | |
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} | |
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} | |
TEAM_ID: ${{ secrets.TEAM_ID }} | |
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} | |
MATCH_KEYCHAIN_PASSWORD: ${{ secrets.MATCH_KEYCHAIN_PASSWORD }} | |
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }} | |
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }} | |
APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }} | |