mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-25 16:43:55 +08:00
Merge pull request #2023 from xinnan-tech/openrz-patch-1
Update build-apk.yml
This commit is contained in:
@@ -29,6 +29,12 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: 10.10.0
|
||||||
|
run_install: false
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
@@ -36,15 +42,6 @@ jobs:
|
|||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
cache-dependency-path: 'main/manager-mobile/pnpm-lock.yaml'
|
cache-dependency-path: 'main/manager-mobile/pnpm-lock.yaml'
|
||||||
|
|
||||||
- name: Setup pnpm
|
|
||||||
uses: pnpm/action-setup@v4
|
|
||||||
with:
|
|
||||||
version: 10.10.0
|
|
||||||
run_install: false
|
|
||||||
store_dir: ~/.pnpm-store
|
|
||||||
env:
|
|
||||||
PNPM_HOME: ~/.pnpm-store
|
|
||||||
|
|
||||||
- name: Extract version from tag or input
|
- name: Extract version from tag or input
|
||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
@@ -73,8 +70,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd main/manager-mobile
|
cd main/manager-mobile
|
||||||
pnpm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
env:
|
|
||||||
PNPM_HOME: ~/.pnpm-store
|
|
||||||
|
|
||||||
- name: Build Android APK
|
- name: Build Android APK
|
||||||
run: |
|
run: |
|
||||||
@@ -82,7 +77,6 @@ jobs:
|
|||||||
pnpm build:app-android
|
pnpm build:app-android
|
||||||
env:
|
env:
|
||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
PNPM_HOME: ~/.pnpm-store
|
|
||||||
|
|
||||||
- name: Find APK file
|
- name: Find APK file
|
||||||
id: find_apk
|
id: find_apk
|
||||||
|
|||||||
Reference in New Issue
Block a user