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 ee7be9a commit d63641dCopy full SHA for d63641d
actions/get-resource/action.yml
@@ -42,7 +42,7 @@ runs:
42
echo "resource=$RESOURCE" >> "$GITHUB_OUTPUT"
43
44
# 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
+ echo "$RESOURCE" | jq -r 'paths(scalars) as $p | [ ( [ $p[] | tostring ] | join("_") | gsub("/"; "_") ), ( getpath($p) | tostring ) ] | join("=")' | while read -r line; do
46
echo "$line" >> "$GITHUB_OUTPUT"
47
echo "$line"
48
done
0 commit comments