All checks were successful
TestFlight / testflight (push) Successful in 1m58s
act_runner does not carry setup-ruby's PATH changes into later steps, so without this the step runs the toolcache default Ruby (3.3.11) and bundler cannot find the gems installed for 3.1.7. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
name: TestFlight
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- "release/ios/v*"
|
|
|
|
jobs:
|
|
testflight:
|
|
runs-on: macos-arm64
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Ruby
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: "3.1.7"
|
|
bundler-cache: true
|
|
working-directory: ios
|
|
|
|
- name: Install XcodeGen
|
|
run: command -v xcodegen >/dev/null 2>&1 || brew install xcodegen
|
|
|
|
- name: Upload to TestFlight
|
|
working-directory: ios
|
|
env:
|
|
APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }}
|
|
APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
|
|
APP_STORE_CONNECT_KEY_CONTENT: ${{ secrets.APP_STORE_CONNECT_KEY_CONTENT }}
|
|
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
|
|
MATCH_GIT_URL: ${{ secrets.MATCH_GIT_URL }}
|
|
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
|
|
SYBIL_BUILD_NUMBER: ${{ github.run_number }}
|
|
FASTLANE_SKIP_UPDATE_CHECK: "1"
|
|
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: "120"
|
|
# act_runner does not propagate setup-ruby's PATH changes into later
|
|
# steps, so put the selected Ruby back on PATH or `bundle` resolves to
|
|
# the toolcache default and misses the gems installed above.
|
|
run: |
|
|
export PATH="/Users/runner/hostedtoolcache/Ruby/3.1.7/arm64/bin:${PATH}"
|
|
bundle exec fastlane ios beta
|