From 0ec94592d4b5ce8d6553940302e21833bed39dc9 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 24 Sep 2022 18:30:52 -0600 Subject: [PATCH] Renamed entrypoint.sh -> get-changed-paths.sh --- .github/workflows/test.yml | 8 ++++---- action.yml | 2 +- entrypoint.sh => get-changed-paths.sh | 0 3 files changed, 5 insertions(+), 5 deletions(-) rename entrypoint.sh => get-changed-paths.sh (100%) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f0a49b52..93a6b334 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -522,10 +522,10 @@ jobs: uses: ./ with: files: | - entrypoint.sh + get-changed-paths.sh *.sh - name: Verify all_changed_files files has no duplicates - if: contains(steps.changed-files-specific-duplicate-output.outputs.all_changed_files, 'entrypoint.sh') + if: contains(steps.changed-files-specific-duplicate-output.outputs.all_changed_files, 'get-changed-paths.sh') run: | ALL_CHANGED_FILES=(${{ steps.changed-files-specific-duplicate-output.outputs.all_changed_files }}) UNIQUE_ALL_CHANGED_FILES=$(echo "$ALL_CHANGED_FILES" | tr ' ' '\n' | sort -u | xargs) @@ -537,7 +537,7 @@ jobs: shell: bash - name: Verify all_changed_and_modified_files files has no duplicates - if: contains(steps.changed-files-specific-duplicate-output.outputs.all_changed_and_modified_files, 'entrypoint.sh') + if: contains(steps.changed-files-specific-duplicate-output.outputs.all_changed_and_modified_files, 'get-changed-paths.sh') run: | ALL_CHANGED_AND_MODIFIED_FILES=(${{ steps.changed-files-specific-duplicate-output.outputs.all_changed_and_modified_files }}) UNIQUE_ALL_CHANGED_AND_MODIFIED_FILES=$(echo "$ALL_CHANGED_AND_MODIFIED_FILES" | tr ' ' '\n' | sort -u | xargs) @@ -549,7 +549,7 @@ jobs: shell: bash - name: Verify all_modified_files files has no duplicates - if: contains(steps.changed-files-specific-duplicate-output.outputs.all_modified_files, 'entrypoint.sh') + if: contains(steps.changed-files-specific-duplicate-output.outputs.all_modified_files, 'get-changed-paths.sh') run: | ALL_MODIFIED_FILES=(${{ steps.changed-files-specific-duplicate-output.outputs.all_modified_files }}) UNIQUE_ALL_MODIFIED_FILES=$(echo "$ALL_MODIFIED_FILES" | tr ' ' '\n' | sort -u | xargs) diff --git a/action.yml b/action.yml index bef048b2..92c21e97 100644 --- a/action.yml +++ b/action.yml @@ -206,7 +206,7 @@ runs: include-deleted-files: true separator: "|" - run: | - bash $GITHUB_ACTION_PATH/entrypoint.sh + bash $GITHUB_ACTION_PATH/get-changed-paths.sh id: changed-files shell: bash env: diff --git a/entrypoint.sh b/get-changed-paths.sh similarity index 100% rename from entrypoint.sh rename to get-changed-paths.sh