78ee0c8450
Add a scheduled workflow (2:10 AM UTC, after the nightly i18n job) that builds both platforms via reusable workflow_call triggers: - Android: testflight-android profile, producing an Internal release - iOS: testflight profile, then assigns the build to the "QA Team" TestFlight group via fastlane (distribute_only) Adds workflow_call triggers + an assignTestFlightGroup input to the iOS workflow. Assigning to a TestFlight group requires App Store Connect API key secrets (ASC_KEY_ID, ASC_ISSUER_ID, ASC_KEY_P8_BASE64), which still need to be added to the repo. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
30 lines
710 B
YAML
30 lines
710 B
YAML
---
|
|
name: Nightly Build
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "10 2 * * *" # run at 2:10 AM UTC, after the nightly i18n job
|
|
workflow_dispatch:
|
|
|
|
# Deploys happen via EAS using EXPO_TOKEN; the GITHUB_TOKEN only checks out code
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
ios:
|
|
name: Nightly iOS Build
|
|
if: github.repository == 'bluesky-social/social-app'
|
|
uses: ./.github/workflows/build-submit-ios.yml
|
|
with:
|
|
profile: testflight
|
|
assignTestFlightGroup: true
|
|
secrets: inherit
|
|
|
|
android:
|
|
name: Nightly Android Build
|
|
if: github.repository == 'bluesky-social/social-app'
|
|
uses: ./.github/workflows/build-submit-android.yml
|
|
with:
|
|
profile: testflight-android
|
|
secrets: inherit
|