49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
name: TestFlight
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "release/v*.*.*"
|
|
|
|
jobs:
|
|
release:
|
|
name: Build and upload
|
|
runs-on: macos-arm64
|
|
timeout-minutes: 90
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
steps:
|
|
- name: Check out the release tag
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Verify the Apple build toolchain
|
|
run: |
|
|
export PATH="/Users/runner/hostedtoolcache/Ruby/3.3.11/arm64/bin:${PATH}"
|
|
ruby --version
|
|
bundle --version
|
|
xcodebuild -version
|
|
|
|
- name: Install Fastlane
|
|
run: |
|
|
export PATH="/Users/runner/hostedtoolcache/Ruby/3.3.11/arm64/bin:${PATH}"
|
|
bundle config set --local path "$HOME/.bundle/xion-control-panel"
|
|
bundle install --jobs 4 --retry 3
|
|
|
|
- name: Build and upload to TestFlight
|
|
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_BASIC_AUTHORIZATION: ${{ secrets.MATCH_GIT_BASIC_AUTHORIZATION }}
|
|
RELEASE_TAG: ${{ github.ref_name }}
|
|
GITEA_BUILD_NUMBER: ${{ github.run_number }}
|
|
FASTLANE_SKIP_UPDATE_CHECK: "1"
|
|
FASTLANE_HIDE_CHANGELOG: "1"
|
|
FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: "120"
|
|
run: |
|
|
export PATH="/Users/runner/hostedtoolcache/Ruby/3.3.11/arm64/bin:${PATH}"
|
|
bundle exec fastlane ios release
|