From 2d42295d2a74e8d537381ef650d5860cd142baef Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Thu, 9 Dec 2021 15:29:58 +0000 Subject: [PATCH] build: pin macOS GitHub runner to macos-10.15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node.js 12.x requires Python 2 to build. `macos-latest` GitHub hosted runners are now macOS 11 and do not have Python 2 available. PR-URL: https://github.com/nodejs/node/pull/41124 Refs: https://github.com/actions/virtual-environments/issues/4060 Reviewed-By: Luigi Pinca Reviewed-By: Beth Griggs Reviewed-By: Michaƫl Zasso --- .github/workflows/test-macos.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index b9794bde31b45a..1a36f29c6bd845 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -8,11 +8,11 @@ env: jobs: test-macOS: - runs-on: macos-latest + runs-on: "macos-10.15" steps: - uses: actions/checkout@v2 - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: python-version: ${{ env.PYTHON_VERSION }} - name: Environment Information