From a7e8bf34bc0359816e89a79a65a8970815508e23 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Tue, 19 Apr 2022 13:40:06 +0200 Subject: [PATCH] [macOS] Install git 2.35.1 for macOS (#5415) --- images/macos/provision/core/git.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/images/macos/provision/core/git.sh b/images/macos/provision/core/git.sh index 7443e477..0dd8ba73 100644 --- a/images/macos/provision/core/git.sh +++ b/images/macos/provision/core/git.sh @@ -2,7 +2,11 @@ source ~/utils/utils.sh echo Installing Git... -brew_smart_install "git" +# Temporary hardcode version 2.35.1 due to the issue with the actions\checkout https://github.com/actions/checkout/issues/76 +brew tap-new local/git +brew extract --version=2.35.1 git local/git +brew install git@2.35.1 +brew untap -f local/homebrew-git echo Installing Git LFS brew_smart_install "git-lfs"