Skip to content

Commit

Permalink
do not allow github to upgrade Python to 3.12
Browse files Browse the repository at this point in the history
old versions of node-gyp do not support it
  • Loading branch information
mmomtchev committed Nov 3, 2023
1 parent 3184aa4 commit eb0a67a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16.x
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: npm install --ignore-scripts
- run: npx @mapbox/node-pre-gyp configure --builtin_python=true
- run: npx @mapbox/node-pre-gyp build -j max
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- run: npm install --ignore-scripts
- run: npx @mapbox/node-pre-gyp configure --builtin-python=true
- run: npx @mapbox/node-pre-gyp build -j max
Expand Down

0 comments on commit eb0a67a

Please sign in to comment.