Skip to content

Commit

Permalink
Update desktop-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
asrient committed Nov 19, 2023
1 parent b22e562 commit 5e59a02
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/desktop-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18.17.0'
# macos-latest ships with Python 3.12 by default, but this removes a
# utility that's used by electron-builder (distutils) so we need to pin
# Python to an earlier version.
# Fixes error `ModuleNotFoundError: No module named 'distutils'`
# Ref: https://github.com/nodejs/node-gyp/issues/2869
- uses: actions/setup-python@v4
with:
python-version: '3.11'
# setup web
- name: Install web dependencies
run: npm install
Expand Down

0 comments on commit 5e59a02

Please sign in to comment.