mirror of
https://github.com/we-promise/sure.git
synced 2026-04-18 19:44:09 +00:00
Wire TestFlight up to mobile releases
This commit is contained in:
6
.github/workflows/ios-testflight.yml
vendored
6
.github/workflows/ios-testflight.yml
vendored
@@ -7,6 +7,12 @@ on:
|
||||
description: "TestFlight release notes"
|
||||
required: false
|
||||
type: string
|
||||
workflow_call:
|
||||
inputs:
|
||||
notes:
|
||||
description: "TestFlight release notes"
|
||||
required: false
|
||||
type: string
|
||||
push:
|
||||
tags:
|
||||
- 'ios-v*'
|
||||
|
||||
8
.github/workflows/mobile-release.yml
vendored
8
.github/workflows/mobile-release.yml
vendored
@@ -15,6 +15,14 @@ jobs:
|
||||
uses: ./.github/workflows/flutter-build.yml
|
||||
secrets: inherit
|
||||
|
||||
testflight:
|
||||
name: Upload iOS to TestFlight
|
||||
needs: [build]
|
||||
uses: ./.github/workflows/ios-testflight.yml
|
||||
with:
|
||||
notes: "Mobile release ${{ github.ref_name }}"
|
||||
secrets: inherit
|
||||
|
||||
release:
|
||||
name: Create Mobile GitHub Release
|
||||
needs: [build]
|
||||
|
||||
@@ -151,9 +151,9 @@ The app includes automated CI/CD via GitHub Actions (`.github/workflows/flutter-
|
||||
- **Android Build**: Generates release APK and AAB artifacts
|
||||
- **iOS Build**: Generates iOS release build (unsigned)
|
||||
- **Quality Checks**: Code analysis and tests run before building
|
||||
- **TestFlight**: Use `.github/workflows/ios-testflight.yml` for signed distribution uploads to App Store Connect
|
||||
- **TestFlight**: `mobile-release` (mobile tags) triggers `.github/workflows/ios-testflight.yml` for signed App Store Connect uploads as part of one release flow
|
||||
|
||||
See [mobile/docs/iOS_TESTFLIGHT](mobile/docs/iOS_TESTFLIGHT.md) for required secrets and setup.
|
||||
See [mobile/docs/iOS_TESTFLIGHT.md](mobile/docs/iOS_TESTFLIGHT.md) for required secrets and setup.
|
||||
|
||||
### Downloading Build Artifacts
|
||||
|
||||
|
||||
@@ -9,6 +9,12 @@ This repository now includes `.github/workflows/ios-testflight.yml`, which build
|
||||
- Bundle ID `am.sure.mobile` (or your custom value in the workflow)
|
||||
- Flutter assets and source already in `mobile/`
|
||||
|
||||
## Trigger paths
|
||||
|
||||
- Manual dispatch from the workflow UI.
|
||||
- Tag push matching `ios-v*`.
|
||||
- Called from `.github/workflows/mobile-release.yml` after the shared build job, so tagging `mobile-v*` now creates the GitHub release and uploads to TestFlight in one pipeline.
|
||||
|
||||
## Required GitHub Secrets
|
||||
|
||||
Set these in **Settings → Secrets and variables → Actions**:
|
||||
@@ -26,7 +32,7 @@ Set these in **Settings → Secrets and variables → Actions**:
|
||||
- `IOS_PROVISIONING_PROFILE_NAME`
|
||||
- `IOS_PROVISIONING_PROFILE_BASE64`
|
||||
|
||||
> Do **not** commit private keys, `.p12` files, or `.p8` files to the repository.
|
||||
> Do **not** commit private keys, `.p12`, `.mobileprovision` or `.p8` files to the repository.
|
||||
|
||||
## Triggering
|
||||
|
||||
|
||||
Reference in New Issue
Block a user