From 5856d21a2eca75bad28108cb53066259fd7427fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= <biwanczuk@gmail.com>
Date: Thu, 16 Jan 2020 15:04:51 +0100
Subject: [PATCH] ci: bump Python to 2.7.17 for macOS (#3685)

---
 .github/workflows/ci.yml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 66ddc968e3..3e4cd57ed3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -53,7 +53,15 @@ jobs:
           rustup component add clippy
           rustup component add rustfmt
 
-      - name: Install python
+      - name: Install Python (macOS)
+        if: startsWith(matrix.os, 'macOS')
+        uses: actions/setup-python@v1
+        with:
+          python-version: "2.7.17"
+          architecture: x64
+
+      - name: Install Python
+        if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'windows')
         uses: actions/setup-python@v1
         with:
           python-version: "2.7.16"