From d4a70530c4983e2969ae794a637d9bd21d452d77 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Sun, 9 May 2021 18:48:14 +0200 Subject: [PATCH] fix used directory for change detection --- .github/workflows/apps.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/apps.yaml b/.github/workflows/apps.yaml index ac5f877dd82..700e8440ef4 100644 --- a/.github/workflows/apps.yaml +++ b/.github/workflows/apps.yaml @@ -49,7 +49,7 @@ jobs: - run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json - id: reduce run: | - APPS=$(jq --raw-output '.changed_files | fromjson | .[] |= sub("(?(?(?[\/]?)[^\/]+\/)(?(?[\/]?)[^\/]+\/)(?(?[\/]?)[^\/]+)(?.+))"; "\(.second_directory)") | unique' changes.json) + APPS=$(jq --raw-output '.changed_files | fromjson | .[] |= sub("(?(?(?[\/]?)[^\/]+\/)(?(?[\/]?)[^\/]+\/)(?(?[\/]?)[^\/]+)(?.+))"; "\(.third_directory)") | unique' changes.json) echo ::set-output name=apps::${APPS} if [ ${#APPS[@]} -eq 1 ]; then if [ -z "${APPS[0]}" ]; then