mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-30 23:07:56 +07:00 
			
		
		
		
	Add patch to update brew core repo
This commit is contained in:
		| @ -140,6 +140,13 @@ update_dependencies_helper() { | ||||
| update_dependencies() { | ||||
|   if ! [ -e /tmp/update_dependencies ] && [ "${runner:?}" != "self-hosted" ] && [ "${ImageOS:-}" != "" ] && [ "${ImageVersion:-}" != "" ]; then | ||||
|     patch_brew | ||||
|  | ||||
|     # Remove this patch when brew is updated on the images. | ||||
|     ( | ||||
|       cd "$tap_dir/homebrew/homebrew-core" || true | ||||
|       git add . && git stash && git pull origin master | ||||
|     ) >/dev/null 2>&1 && return | ||||
|  | ||||
|     while read -r dependency; do | ||||
|       update_dependencies_helper "$dependency" & | ||||
|       to_wait+=($!) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur