From 65c84f6d0329c61a97d4a09553e5d3d7bd646f27 Mon Sep 17 00:00:00 2001 From: seankross Date: Wed, 18 Dec 2024 13:44:29 -0800 Subject: [PATCH] debugging dir json construction part 1 --- .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 aa19e34..4bc7d57 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 .) + dirs=$(find . -type f -name "*.wdl" -exec dirname {} \; | sort -u | jq -R . | jq -s 'map(trim)') echo "Directories: $dirs" echo "matrix=$dirs" >> $GITHUB_OUTPUT diff --git a/.github/workflows/womtools-validate.yml b/.github/workflows/womtools-validate.yml index fd2f091..bd58548 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 .) + dirs=$(find . -type f -name "*.wdl" -exec dirname {} \; | sort -u | jq -R . | jq -s 'map(trim)') echo "Directories: $dirs" echo "matrix=$dirs" >> $GITHUB_OUTPUT