Skip to content

Commit 3353116

Browse files
committed
Allow . in path values
1 parent 13bf4d9 commit 3353116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,12 @@ runs:
5656
echo "matrix=`yq ea -o json '
5757
select(fileIndex == 1) as $filters |
5858
$filters |= keys |
59-
$filters |= map(. | capture("(?:(?<value>[\\w\\-_]+)\\|)?(?<key>[\\w\\-_\\/]+)")) |
59+
$filters |= map(. | capture("(?:(?<value>[\\w\\-_]+)\\|)?(?<key>[\\w\\-_\\/\\.]+)")) |
6060
$filters |= from_entries |
6161
6262
select(fileIndex == 0) |
6363
map(. |
64-
capture("(?:(?<key>[\\w\\-_]+)\\|)?(?<path>[\\w\\-_\\/]+)") |
64+
capture("(?:(?<key>[\\w\\-_]+)\\|)?(?<path>[\\w\\-_\\/\\.]+)") |
6565
{
6666
"${{ inputs.output-key-name }}": .key // $filters[.path] // "${{ inputs.default-key }}",
6767
"path": .path

0 commit comments

Comments
 (0)