upload-testflight-build is a community GitHub Action for sending a signed iOS .ipa archive to App Store Connect for TestFlight distribution. It belongs in a deployment job after the iOS build artifact has been downloaded. section 12.2.4
Configure the action in four practical steps:
- Download the iOS build artifact. section 12.2.4
- Set the .ipa path in an environment variable because the action does not accept a glob pattern. section 12.2.4
- Pass the archive path, issuer ID, API key ID, and private key to the action. section 12.2.4
TestFlight upload step
uses: apple-actions/upload-testflight-build@v1 with: app-path: ${{ env.IPA_FILENAME }} issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }} api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }} api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
