mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-08-14 17:44:40 +07:00
Fix output on non GitHub Action environments
This commit is contained in:
@ -22,7 +22,7 @@ add_protoc() {
|
||||
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"
|
||||
printf "$GROUP\033[34;1m%s \033[0m\033[90;1m%s \033[0m\n" "protoc" "Click to read the protoc related license information"
|
||||
curl "${curl_opts[@]:?}" https://raw.githubusercontent.com/protocolbuffers/protobuf/master/LICENSE
|
||||
echo "::endgroup::"
|
||||
echo "$END_GROUP"
|
||||
}
|
||||
|
Reference in New Issue
Block a user