We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5b66d7 commit dad1460Copy full SHA for dad1460
.github/actions/secrets-parse/action.yml
@@ -36,7 +36,7 @@ runs:
36
json_value="${line#*=}"
37
value="$(jq -r '.' <<< "$json_value")"
38
# Mask the value (possibly multiline) from the logs
39
- printf "::add-mask::%s\n" "${value//$'\n'/::add-mask::}"
+ while IFS= read -r line; do printf "::add-mask::%s\n" "$line"; done <<< "$value"
40
{
41
printf "%s<<%s\n" "$key" "$delimiter"
42
printf "%s\n" "$value"
0 commit comments