chore: profile input (#2827)

This commit is contained in:
DIYgod 2025-02-20 17:43:17 +08:00 committed by GitHub
parent 5a5716470f
commit c4422a57e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -10,6 +10,11 @@ on:
paths:
- "apps/mobile/**"
workflow_dispatch:
inputs:
profile:
type: string
default: preview
description: "Build profile, preview or production"
jobs:
build:
@ -39,7 +44,7 @@ jobs:
- name: 🔨 Build iOS IPA
run: |
cd apps/mobile
eas build --platform ios --profile preview --non-interactive --local --output=./build.ipa
eas build --platform ios --profile ${{ github.event.inputs.profile || 'preview' }} --non-interactive --local --output=./build.ipa
env:
CI: true