Skip to content

Commit d63641d

Browse files
committed
remove /
1 parent ee7be9a commit d63641d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/get-resource/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ runs:
4242
echo "resource=$RESOURCE" >> "$GITHUB_OUTPUT"
4343
4444
# Extract flattened key-value pairs and write to output
45-
echo "$RESOURCE" | jq -r 'paths(scalars) as $p | [ ( [ $p[] | tostring ] | join("_") ), ( getpath($p) | tostring ) ] | join("=")' | while read -r line; do
45+
echo "$RESOURCE" | jq -r 'paths(scalars) as $p | [ ( [ $p[] | tostring ] | join("_") | gsub("/"; "_") ), ( getpath($p) | tostring ) ] | join("=")' | while read -r line; do
4646
echo "$line" >> "$GITHUB_OUTPUT"
4747
echo "$line"
4848
done

0 commit comments

Comments
 (0)