Skip to content

Commit

Permalink
Remove checking subdir and suffix for bin (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Nov 14, 2021
1 parent 0ef4a19 commit 2e033fa
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,24 +164,6 @@ runs:
done
echo "::set-output name=filepaths::${filepaths[@]}"
- name: Check bin subdirs
shell: bash
run: |
if find "${{ inputs.scandir }}" ${{ steps.exclude.outputs.excludes }} -path '*bin/*/*' -type f -perm /111 -print |
grep .
then
echo "::warning:: subdirectories of bin directories are not usable via PATH"
fi
- name: Check no suffix in PATH
shell: bash
run: |
if find "${{ inputs.scandir }}" ${{ steps.exclude.outputs.excludes }} -path '*bin/*' -name '*.*' -type f -perm /111 -perm /444 -print |
grep .
then
echo "::warning:: programs in PATH should not have a filename suffix"
fi
- name: Run the file check
id: check
shell: bash
Expand Down

0 comments on commit 2e033fa

Please sign in to comment.