From c901eaaf095f749aa3361675ede7fbcc98c9c7d1 Mon Sep 17 00:00:00 2001 From: DuDu Date: Tue, 3 Sep 2024 00:38:08 +0900 Subject: [PATCH] =?UTF-8?q?GitHub=20Action=20main.yml=20=ED=8C=8C=EC=9D=BC?= =?UTF-8?q?=20=EA=B5=AC=ED=98=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 54 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000..4f6656dd --- /dev/null +++ b/.github/workflows/main.yml @@ -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 }}