Skip to content

Commit d93ac21

Browse files
committed
WIP
1 parent 9eecbfe commit d93ac21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ runs:
3232
if [ -z "$line" ]; then
3333
continue
3434
fi
35-
key="${line%%=*}"
36-
json_value="${line#*=}"
35+
key="$(cut -d'=' -f1 <<< "$line")"
36+
json_value="$(cut -d'=' -f2- <<< "$line")"
3737
value="$(jq -r '.' <<< "$json_value")"
3838
# Mask the value from the logs
3939
echo "::add-mask::$value"

0 commit comments

Comments
 (0)