Skip to content

Commit

Permalink
Make the matrix input generation more simpler
Browse files Browse the repository at this point in the history
Co-authored-by: Jean Abou-Samra <[email protected]>
  • Loading branch information
rffontenelle and jeanas authored Dec 20, 2023
1 parent 67f169f commit b553651
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ jobs:
id: languages
working-directory: locales
run: |
dirs=$(find * -maxdepth 0 -type d)
list="$(echo $dirs | sed "s|^|['|;s|$|']|;s| |', '|g")"
list=$(find * -maxdepth 0 -type d | jq -nRc '[inputs]')
echo "languages=$list" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit b553651

Please sign in to comment.