Skip to content

Commit

Permalink
build: pin macOS GitHub runner to macos-10.15
Browse files Browse the repository at this point in the history
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: #41124
Refs: actions/runner-images#4060
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Beth Griggs <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
  • Loading branch information
richardlau committed Dec 13, 2021
1 parent b13340e commit 2d42295
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2d42295

Please sign in to comment.