Linux EAS runners don't ship Ruby/Bundler, so `bundle install` fails with "bundle: command not found". macOS workflow runners have Ruby 3.2 + Fastlane preinstalled, so switching this job to runs_on: macos-medium gets us there without a manual install step.
53 lines
1.0 KiB
YAML
53 lines
1.0 KiB
YAML
name: Release Mobile
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
- "!v*-rc.*"
|
|
- "!v*-beta.*"
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
build_ios:
|
|
name: Build iOS
|
|
type: build
|
|
params:
|
|
platform: ios
|
|
profile: production
|
|
|
|
build_android:
|
|
name: Build Android
|
|
type: build
|
|
params:
|
|
platform: android
|
|
profile: production
|
|
|
|
submit_ios:
|
|
name: Submit iOS
|
|
needs: [build_ios]
|
|
type: submit
|
|
params:
|
|
build_id: ${{ needs.build_ios.outputs.build_id }}
|
|
profile: production
|
|
|
|
submit_android:
|
|
name: Submit Android
|
|
needs: [build_android]
|
|
type: submit
|
|
params:
|
|
build_id: ${{ needs.build_android.outputs.build_id }}
|
|
profile: production
|
|
|
|
submit_ios_for_review:
|
|
name: Submit iOS for App Store review
|
|
needs: [submit_ios]
|
|
environment: production
|
|
runs_on: macos-medium
|
|
steps:
|
|
- uses: eas/checkout
|
|
- name: Install fastlane
|
|
run: bundle install
|
|
- name: Submit for review
|
|
run: bundle exec fastlane ios submit_review
|