Skip to content

Commit

Permalink
Fix node-gyp failure on macOS (#6537)
Browse files Browse the repository at this point in the history
  • Loading branch information
code-asher committed Nov 16, 2023
1 parent 9658969 commit 984fb13
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,13 @@ jobs:
curl -sSfL https://github.com/goreleaser/nfpm/releases/download/v2.3.1/nfpm_2.3.1_`uname -s`_`uname -m`.tar.gz | tar -C ~/.local/bin -zxv nfpm
echo "$HOME/.local/bin" >> $GITHUB_PATH
# The version of node-gyp we use depends on distutils but it was removed
# in Python 3.12. It seems to be fixed in the latest node-gyp so when we
# next update Node we can probably remove this. For now, install
# setuptools since it contains distutils.
- name: Install Python utilities
run: python3 -m pip install setuptools

- name: Download npm package
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 984fb13

Please sign in to comment.