mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 23:36:21 +07:00 
			
		
		
		
	Fix protoc support
This commit is contained in:
		| @ -19,7 +19,7 @@ add_protoc() { | ||||
|     [ "$(uname -s)" = "Darwin" ] && platform='osx' | ||||
|     get -q -n /tmp/protobuf.zip "https://github.com/protocolbuffers/protobuf/releases/download/$protobuf_tag/protoc-${protobuf_tag:1}-$platform-x86_64.zip" | ||||
|     sudo unzip /tmp/protobuf.zip -d /usr/local/ | ||||
|     sudo chmod 777 /usr/local/bin/protoc -R /usr/local/include/google | ||||
|     sudo chmod -R 777 /usr/local/bin/protoc /usr/local/include/google | ||||
|   ) >/dev/null 2>&1 | ||||
|   add_log "${tick:?}" "protoc" "Added protoc ${protobuf_tag:1}" | ||||
|   printf "::group::\033[34;1m%s \033[0m\033[90;1m%s \033[0m\n" "protoc" "Click to read the protoc related license information" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur