From a4b15099d7cb413ef8e783b3dcaf17a8b9e5cdb0 Mon Sep 17 00:00:00 2001 From: Jannik Pulfer Date: Mon, 4 Nov 2024 16:10:45 +0100 Subject: [PATCH] Convert file list to single line --- .github/workflows/frontend-test-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/frontend-test-action.yml b/.github/workflows/frontend-test-action.yml index 3d90d2580c..6449e58f31 100644 --- a/.github/workflows/frontend-test-action.yml +++ b/.github/workflows/frontend-test-action.yml @@ -31,7 +31,7 @@ jobs: - name: Generate file list id: generate-file-list run: | - FILES=$(ls -1 "./frontend/cypress/e2e/" | jq -R -s -c) + FILES=$(ls -1 "./frontend/cypress/e2e/" | jq -R | jq -s | jq -c '. | map(split("/")[0]) | unique') echo "file_list=$FILES" >> "$GITHUB_OUTPUT" e2e: