Skip to content

Commit

Permalink
Manually install python and setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
confused-Techie committed Dec 13, 2023
1 parent 6ea5aa0 commit e84a602
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ jobs:
architecture: ${{ matrix.node_arch }}
check-latest: true

- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: Install Python Dependencies
# This is needed for Python 3.12+, since node-gyp requires
# 'distutils', which has been removed
run: python3 -m pip install setuptools

- name: Install dependencies
run: |
# Yarn v1.x needs global node-gyp available if npm 9.7.2+ is the global npm version,
Expand Down

0 comments on commit e84a602

Please sign in to comment.