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