Skip to content

Commit b553651

Browse files
rffontenellejeanas
andauthored
Make the matrix input generation more simpler
Co-authored-by: Jean Abou-Samra <[email protected]>
1 parent 67f169f commit b553651

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/test-translations.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ jobs:
3939
id: languages
4040
working-directory: locales
4141
run: |
42-
dirs=$(find * -maxdepth 0 -type d)
43-
list="$(echo $dirs | sed "s|^|['|;s|$|']|;s| |', '|g")"
42+
list=$(find * -maxdepth 0 -type d | jq -nRc '[inputs]')
4443
echo "languages=$list" >> $GITHUB_OUTPUT
4544
4645

0 commit comments

Comments
 (0)