Skip to content

Commit dad1460

Browse files
committed
WIP
1 parent a5b66d7 commit dad1460

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/secrets-parse/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ runs:
3636
json_value="${line#*=}"
3737
value="$(jq -r '.' <<< "$json_value")"
3838
# Mask the value (possibly multiline) from the logs
39-
printf "::add-mask::%s\n" "${value//$'\n'/::add-mask::}"
39+
while IFS= read -r line; do printf "::add-mask::%s\n" "$line"; done <<< "$value"
4040
{
4141
printf "%s<<%s\n" "$key" "$delimiter"
4242
printf "%s\n" "$value"

0 commit comments

Comments
 (0)