From 2241dec7debc1b2b91bff1732ad8d32d9a7ddfae Mon Sep 17 00:00:00 2001 From: Sonny Alves Dias <140774465+sonny-semc@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:00:06 +0800 Subject: [PATCH] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 1159697..6e64e54 100644 --- a/action.yml +++ b/action.yml @@ -27,6 +27,6 @@ runs: shell: bash run: | cd ${{ inputs.path }} - folders=$(tree -J -d -L 1 | jq -c '.[0].contents | map("${{ inputs.dir_name && inputs.path || '' }}" + .name + "${{ inputs.suffix != "" && inputs.suffix || '' }}")' ${{ inputs.escape && ' | jq -R' || '' }}) + folders=$(tree -J -d -L 1 | jq -c '.[0].contents | map("${{ inputs.dir_name && inputs.path || '' }}" + .name + "${{ inputs.suffix != '' && inputs.suffix || '' }}")' ${{ inputs.escape && ' | jq -R' || '' }}) echo $folders echo "folders=$folders" >> $GITHUB_OUTPUT