🐛 GitHub action cli packaging issue fixed

This commit is contained in:
Tw93
2025-08-21 15:28:40 +08:00
parent 23c817606d
commit b51fa5e2b7
5 changed files with 71 additions and 19 deletions

View File

@@ -113,18 +113,11 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Cache pake-cli installation
uses: actions/cache@v4
id: pake_cache
with:
path: node_modules/pake-cli
key: ${{ runner.os }}-pake-cli-${{ hashFiles('**/package.json') }}-${{ inputs.multi_arch }}
- name: Install pake-cli
shell: bash
run: |
echo "Installing pake-cli..."
npm install pake-cli --no-package-lock
echo "Installing latest pake-cli..."
npm install pake-cli@latest --no-package-lock
# Verify installation
if [ ! -d "node_modules/pake-cli" ]; then