From ee450b142c6082b4b53efa2654e740b8f25d9970 Mon Sep 17 00:00:00 2001 From: seankross Date: Wed, 18 Dec 2024 13:49:14 -0800 Subject: [PATCH] debugging dir json construction part 3 --- .github/workflows/cromwell-test-run.yml | 2 +- .github/workflows/womtools-validate.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cromwell-test-run.yml b/.github/workflows/cromwell-test-run.yml index 20661ee..d743520 100644 --- a/.github/workflows/cromwell-test-run.yml +++ b/.github/workflows/cromwell-test-run.yml @@ -17,7 +17,7 @@ jobs: id: set-matrix run: | # Find all directories containing .wdl files - dirs=$(find . -type f -name "*.wdl" -exec dirname {} \; | sort -u | jq -R . | jq -s 'map(gsub("^\\s+|\\s+$"; ""))') + dirs=$(find . -type f -name "*.wdl" -exec dirname {} \; | sort -u | jq -R . | jq -s | jq -c .) echo "Directories: $dirs" echo "matrix=$dirs" >> $GITHUB_OUTPUT diff --git a/.github/workflows/womtools-validate.yml b/.github/workflows/womtools-validate.yml index 64ebf70..ac33168 100644 --- a/.github/workflows/womtools-validate.yml +++ b/.github/workflows/womtools-validate.yml @@ -21,7 +21,7 @@ jobs: id: set-matrix run: | # Find all directories containing .wdl files - dirs=$(find . -type f -name "*.wdl" -exec dirname {} \; | sort -u | jq -R . | jq -s 'map(gsub("^\\s+|\\s+$"; ""))') + dirs=$(find . -type f -name "*.wdl" -exec dirname {} \; | sort -u | jq -R . | jq -s | jq -c .) echo "Directories: $dirs" echo "matrix=$dirs" >> $GITHUB_OUTPUT