diff --git a/.gitea/workflows/build-android.yaml b/.gitea/workflows/build-android.yaml index 13d97a7f9c..5a3fb9e30e 100644 --- a/.gitea/workflows/build-android.yaml +++ b/.gitea/workflows/build-android.yaml @@ -31,8 +31,20 @@ jobs: - name: Enable Corepack run: corepack enable + - name: Get pnpm store directory + id: pnpm-cache + run: echo "STORE_PATH=$(pnpm store path)" >> "$GITHUB_OUTPUT" + + - name: Cache pnpm store + uses: actions/cache@v4 + with: + path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + key: pnpm-store-${{ hashFiles('pnpm-lock.yaml') }} + restore-keys: | + pnpm-store- + - name: Install Project Dependencies - run: pnpm install --frozen-lockfile + run: pnpm install --frozen-lockfile --network-concurrency 4 --fetch-timeout 120000 - name: Install EAS CLI run: |