Skip to content

Commit a5b66d7

Browse files
committed
WIP
1 parent dfd1748 commit a5b66d7

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-
sed 's/^ */::add-mask::/' <<< "$value"
39+
printf "::add-mask::%s\n" "${value//$'\n'/::add-mask::}"
4040
{
4141
printf "%s<<%s\n" "$key" "$delimiter"
4242
printf "%s\n" "$value"

0 commit comments

Comments
 (0)