diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c3f2e2b..7696cf7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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