Skip to content

Commit

Permalink
use older version of python to bypass node-gyp error
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalygashkov committed Nov 25, 2023
1 parent f49bbab commit 5a644aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
branches:
- main

env:
# https://github.com/nodejs/node-gyp/issues/2869
PYTHON_VERSION: '3.11'

jobs:
build-win:
name: Build for Windows
Expand Down Expand Up @@ -57,10 +61,6 @@ jobs:
with:
node-version: 18

# https://github.com/nodejs/node-gyp/issues/2869
- name: Fix distutils issue for node-gyp
run: python3 -m pip install setuptools

- name: Install app dependencies
run: npm ci

Expand Down

0 comments on commit 5a644aa

Please sign in to comment.