mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-23 03:19:41 +00:00
Update build-apk.yml
This commit is contained in:
parent
7840e83ada
commit
76b5ad1c99
1 changed files with 6 additions and 12 deletions
18
.github/workflows/build-apk.yml
vendored
18
.github/workflows/build-apk.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue