Skip to content

Commit

Permalink
Reduce search depth
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeglius committed Dec 7, 2024
1 parent da30a89 commit 9360bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/upload_sysext/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ runs:
paths_patterns='${{ inputs.raw-files }}'
paths_resolved=""
for path in $paths_patterns; do
paths_resolved="${path_resolved} $(find . -type f -name "$path" -exec realpath {} \;)"
paths_resolved="${path_resolved} $(sudo find . -maxdepth 1 -type f -name "$path" -exec realpath {} \;)"
done
paths_resolved=$(echo "$paths_resolved" | tr ' ' '\n' | sort -u)
echo "paths='$paths_resolved'" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 9360bfd

Please sign in to comment.