From c4422a57e12f670c9841f732c30aaba28eaff880 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Thu, 20 Feb 2025 17:43:17 +0800 Subject: [PATCH] chore: profile input (#2827) --- .github/workflows/build-eas.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-eas.yml b/.github/workflows/build-eas.yml index c2041355a..e1e152157 100644 --- a/.github/workflows/build-eas.yml +++ b/.github/workflows/build-eas.yml @@ -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