diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index f759b974f250..e3cdb139ed1c 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -41,8 +41,9 @@ jobs: - name: 'Sort our lists for doublets and order by alphabet' run: | - find "${{ github.workspace }}/source/" -type f -name '*.list' -exec \ - bash -c "sort -i -u -f '{}' -o '{}' " \; + find "${{ github.workspace }}/source/" -mindepth 1 -maxdepth 2\ + -type f -name '*.list' -exec bash -c "sort -i -u -f '{}' \ + -o '{}' " \; # find "${{ github.workspace }}/source/" -type f -name '*.list' -exec \ # awk -F "." '{for(i=NF; i > 1; i--) printf "%s.", $i; print $1}' "{}" | \ # sort -u | awk -F "." '{for(i=NF; i > 1; i--) printf "%s.", $i; print $1}'