mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-21 22:53:56 +08:00
Update build-apk.yml
This commit is contained in:
@@ -29,6 +29,12 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 10.10.0
|
||||
run_install: false
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
@@ -36,15 +42,6 @@ jobs:
|
||||
cache: 'pnpm'
|
||||
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
|
||||
id: get_version
|
||||
run: |
|
||||
@@ -73,8 +70,6 @@ jobs:
|
||||
run: |
|
||||
cd main/manager-mobile
|
||||
pnpm install --frozen-lockfile
|
||||
env:
|
||||
PNPM_HOME: ~/.pnpm-store
|
||||
|
||||
- name: Build Android APK
|
||||
run: |
|
||||
@@ -82,7 +77,6 @@ jobs:
|
||||
pnpm build:app-android
|
||||
env:
|
||||
NODE_ENV: production
|
||||
PNPM_HOME: ~/.pnpm-store
|
||||
|
||||
- name: Find APK file
|
||||
id: find_apk
|
||||
|
||||
Reference in New Issue
Block a user