From 2e033faa4a81c8bfe742131b16f7f3067272d8ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Sun, 14 Nov 2021 10:30:44 +0100 Subject: [PATCH] Remove checking subdir and suffix for bin (#51) --- action.yaml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/action.yaml b/action.yaml index 2852c93..0bc86f9 100644 --- a/action.yaml +++ b/action.yaml @@ -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