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 9eecbfe commit d93ac21Copy full SHA for d93ac21
.github/actions/secrets-parse/action.yml
@@ -32,8 +32,8 @@ runs:
32
if [ -z "$line" ]; then
33
continue
34
fi
35
- key="${line%%=*}"
36
- json_value="${line#*=}"
+ key="$(cut -d'=' -f1 <<< "$line")"
+ json_value="$(cut -d'=' -f2- <<< "$line")"
37
value="$(jq -r '.' <<< "$json_value")"
38
# Mask the value from the logs
39
echo "::add-mask::$value"
0 commit comments