Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sonny-semc authored Apr 10, 2024
1 parent 2fc6315 commit 2241dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2241dec

Please sign in to comment.