fix(ci): preserve mobile web assets for local eas builds

This commit is contained in:
DIYgod
2026-04-14 15:00:53 +08:00
parent bd2f2cae0e
commit 8e2e9ca29d
6 changed files with 76 additions and 0 deletions
+3
View File
@@ -72,6 +72,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build Android app
working-directory: apps/mobile
run: eas build --platform android --profile ${{ github.event.inputs.profile || 'preview' }} --local --output=${{ github.workspace }}/build.${{ github.event.inputs.profile == 'production' && 'aab' || 'apk' }}
@@ -51,6 +51,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile development --non-interactive --local --output=./build.ipa
@@ -104,6 +107,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile development --non-interactive --local --output=./build.ipa
@@ -151,6 +157,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile ios-simulator --non-interactive --local --output=./build-simulator.ipa
+6
View File
@@ -59,6 +59,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile ${{ github.event.inputs.profile || 'preview' }} --non-interactive --local --output=./build.ipa
@@ -117,6 +120,9 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Build mobile web assets
run: pnpm --dir apps/mobile/web-app build --outDir ../../../out/rn-web/html-renderer
- name: 🔨 Build iOS IPA
working-directory: apps/mobile
run: eas build --platform ios --profile ${{ github.event.inputs.profile || 'preview' }} --non-interactive --local --output=./build.ipa