From 37425bcc090a7a9f5e5d5781b8a6e807902c7484 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20K=C3=BCsel?= Date: Sat, 18 Nov 2023 18:37:17 +0100 Subject: [PATCH] Force Python to 3.11 --- .github/workflows/test-and-release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 54a93de..e564df3 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -21,7 +21,12 @@ jobs: with: submodules: recursive fetch-depth: 2 - - name: Use node ${{ matrix.node }} + # Force Python to 3.11 until prebuild updates to node-gyp 10 + - name: Use Python 3.11 + uses: actions/setup-python@v4 + with: + python-version: '3.11' + - name: Use node ${{ matrix.node }} ${{ matrix.arch }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }}