From 46d04479de50aca106e0ca5fb28e510377066cc5 Mon Sep 17 00:00:00 2001 From: Makito Date: Sun, 5 Apr 2026 20:03:15 +0900 Subject: [PATCH] chore(ci): install iTMSTransporter for stage-pocket iOS workflow --- .github/workflows/release-pocket-ios.yml | 11 +++++++++-- cspell.config.yaml | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-pocket-ios.yml b/.github/workflows/release-pocket-ios.yml index ca8e34c10..9d9a8197f 100644 --- a/.github/workflows/release-pocket-ios.yml +++ b/.github/workflows/release-pocket-ios.yml @@ -128,8 +128,15 @@ jobs: path: ${{ runner.temp }}/output/${{ env.IPA_NAME }} if-no-files-found: error + - name: Install Transporter + if: ${{ github.event_name == 'workflow_dispatch' && !inputs.no_testflight_upload }} + run: | + curl -fsSL "https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/resources/download/public/Transporter__OSX/bin/" -o "$RUNNER_TEMP/itmstransporter.pkg" + sudo installer -pkg "$RUNNER_TEMP/itmstransporter.pkg" -target / + rm -f "$RUNNER_TEMP/itmstransporter.pkg" + - name: Upload to TestFlight - if: ${{ github.event_name == 'workflow_dispatch' && !inputs.no_release_upload }} + if: ${{ github.event_name == 'workflow_dispatch' && !inputs.no_testflight_upload }} uses: apple-actions/upload-testflight-build@v4 with: app-path: ${{ runner.temp }}/output/${{ env.IPA_NAME }} @@ -138,7 +145,7 @@ jobs: api-private-key: ${{ secrets.APPSTORE_CONNECT_API_KEY }} - name: Upload to GitHub Releases - if: ${{ github.event_name == 'workflow_dispatch' && !inputs.no_testflight_upload }} + if: ${{ github.event_name == 'workflow_dispatch' && !inputs.no_release_upload }} uses: softprops/action-gh-release@v2 with: files: ${{ runner.temp }}/output/${{ env.IPA_NAME }} diff --git a/cspell.config.yaml b/cspell.config.yaml index 8cbe34717..1057461f2 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -138,6 +138,7 @@ words: - injecta - intlify - ITCHIO + - itmstransporter - jlumbroso - jszip - Kawaii