Skip to content

Commit

Permalink
GitHub Action main.yml 파일 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
FirstDo authored Sep 2, 2024
1 parent 0a6ede7 commit c901eaa
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: UploadTestFlight

on:
push:
branches: [ develop ]

jobs:
upload_testflight:
runs-on: macos_latest
steps:
- uses: actions/checkout@v2
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 15.4.0

- name: Setting Master Key
run: |
echo "$MASTER_KEY" > Tuist/master.key
env:
MASTER_KEY: ${{secrets.MASTER_KEY}}

- name: Install Tuist
run: curl -Ls https://install.tuist.io|bash

- name: Install Fastlane
run: brew install fastlane

- uses: actions/setup-ruby@v1
with:
ruby-version: 2.7

- 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 }}

- run: fastlane tf
env:
KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }}
KEYCHAIN_PASSWORD: ${{ secrets.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 }}
SLACK_HOOK_URL: ${{ secrets.SLACK_HOOK_URL }}

0 comments on commit c901eaa

Please sign in to comment.