From 76b5ad1c99a3829e41056c9c236239311fd71e5c Mon Sep 17 00:00:00 2001 From: hrz <1710360675@qq.com> Date: Tue, 12 Aug 2025 13:35:26 +0800 Subject: [PATCH] Update build-apk.yml --- .github/workflows/build-apk.yml | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 8c81bdd9..4152058c 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -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