fix(ci): restore release node-gyp chmod paths
This commit is contained in:
parent
6174c788cf
commit
024b9c481c
1 changed files with 24 additions and 4 deletions
28
.github/workflows/release.yml
vendored
28
.github/workflows/release.yml
vendored
|
|
@ -47,7 +47,12 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
PNPM_STORE="$(pnpm store path)"
|
||||
find "$PNPM_STORE" -path '*/node-gyp/gyp/gyp_main.py' -exec chmod +x {} \; 2>/dev/null || true
|
||||
PNPM_BIN_DIR="$(dirname "$(command -v pnpm)")"
|
||||
for path in "$PNPM_STORE" "${PNPM_HOME:-}" "$PNPM_BIN_DIR"; do
|
||||
if [ -d "$path" ]; then
|
||||
find "$path" -path '*/node-gyp/gyp/gyp_main.py' -exec chmod +x {} \; 2>/dev/null || true
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
|
@ -341,7 +346,12 @@ jobs:
|
|||
- name: Restore pnpm node-gyp executable bit
|
||||
run: |
|
||||
PNPM_STORE="$(pnpm store path)"
|
||||
find "$PNPM_STORE" -path '*/node-gyp/gyp/gyp_main.py' -exec chmod +x {} \; 2>/dev/null || true
|
||||
PNPM_BIN_DIR="$(dirname "$(command -v pnpm)")"
|
||||
for path in "$PNPM_STORE" "${PNPM_HOME:-}" "$PNPM_BIN_DIR"; do
|
||||
if [ -d "$path" ]; then
|
||||
find "$path" -path '*/node-gyp/gyp/gyp_main.py' -exec chmod +x {} \; 2>/dev/null || true
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
|
@ -461,7 +471,12 @@ jobs:
|
|||
shell: bash
|
||||
run: |
|
||||
PNPM_STORE="$(pnpm store path)"
|
||||
find "$PNPM_STORE" -path '*/node-gyp/gyp/gyp_main.py' -exec chmod +x {} \; 2>/dev/null || true
|
||||
PNPM_BIN_DIR="$(dirname "$(command -v pnpm)")"
|
||||
for path in "$PNPM_STORE" "${PNPM_HOME:-}" "$PNPM_BIN_DIR"; do
|
||||
if [ -d "$path" ]; then
|
||||
find "$path" -path '*/node-gyp/gyp/gyp_main.py' -exec chmod +x {} \; 2>/dev/null || true
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
|
@ -585,7 +600,12 @@ jobs:
|
|||
- name: Restore pnpm node-gyp executable bit
|
||||
run: |
|
||||
PNPM_STORE="$(pnpm store path)"
|
||||
find "$PNPM_STORE" -path '*/node-gyp/gyp/gyp_main.py' -exec chmod +x {} \; 2>/dev/null || true
|
||||
PNPM_BIN_DIR="$(dirname "$(command -v pnpm)")"
|
||||
for path in "$PNPM_STORE" "${PNPM_HOME:-}" "$PNPM_BIN_DIR"; do
|
||||
if [ -d "$path" ]; then
|
||||
find "$path" -path '*/node-gyp/gyp/gyp_main.py' -exec chmod +x {} \; 2>/dev/null || true
|
||||
fi
|
||||
done
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue