Skip to content

Commit d4db2e1

Browse files
committed
Still broken, let's force Python 3.11 for now
But not on Linux, since we're using Ubuntu 18.04 that's stuck on an older Python version already.
1 parent 7c9f895 commit d4db2e1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/rebuildElectron.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ jobs:
101101
node-version: 14
102102
node-arch: ${{ matrix.arch }}
103103

104+
- name: Use Python 3.11 # node-gyp < 10 breaks with 3.12
105+
uses: actions/setup-python@v4
106+
with:
107+
python-version: '3.11'
108+
104109
- run: npm install
105110
- run: npm run compile
106111
- run: node ci/prepare.js
@@ -165,6 +170,11 @@ jobs:
165170
node-version: 14
166171
node-arch: ${{ matrix.arch }}
167172

173+
- name: Use Python 3.11 # node-gyp < 10 breaks with 3.12
174+
uses: actions/setup-python@v4
175+
with:
176+
python-version: '3.11'
177+
168178
- run: npm install
169179
- run: npm run compile
170180
- run: node ci/prepare.js

0 commit comments

Comments
 (0)