Skip to content

Commit 6f8ed19

Browse files
ci(mac): use Python 3.11 for node-gyp native rebuilds (#824)
1 parent 1ee7ddb commit 6f8ed19

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ jobs:
4646
node-version: 24.14.1
4747
cache: pnpm
4848

49+
# node-gyp внутри electron-builder требует Python с distutils (< 3.12)
50+
# для кросс-архитектурной пересборки нативных модулей.
51+
- name: Setup Python for node-gyp (macOS)
52+
if: matrix.platform == 'mac'
53+
uses: actions/setup-python@v5
54+
with:
55+
python-version: '3.11'
56+
4957
- name: Install dependencies
5058
run: pnpm install
5159

0 commit comments

Comments
 (0)