Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit c497d2f

Browse files
try modify python
1 parent 830b394 commit c497d2f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/build.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
os: [ ubuntu-latest, macos-12, windows-latest ]
22+
os: [ ubuntu-latest, macos-latest, windows-latest ]
2323

2424
steps:
2525
- name: Checkout
@@ -34,6 +34,13 @@ jobs:
3434
with:
3535
node-version: 16.x
3636

37+
# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
38+
- name: Use Python 3.8
39+
if: ${{ matrix.os == 'macos-latest' }}
40+
uses: actions/setup-python@v5
41+
with:
42+
python-version: 3.8
43+
3744
- name: Windows setup
3845
if: ${{ matrix.os == 'windows-latest' }}
3946
run: |

0 commit comments

Comments
 (0)