Skip to content

Commit

Permalink
update jq command
Browse files Browse the repository at this point in the history
  • Loading branch information
emmastephenson committed Jan 30, 2024
1 parent 3cecd68 commit 5dbb62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/listContainers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
# find all subdirectories with a requirements.txt file at the base (the python containers)
run: |
find . -maxdepth 2 -type f -name "requirements.txt" -exec dirname {} \; | sort -u | xargs -n 1 basename | jq -nR '[inputs]'
echo "python_containers=$(find . -maxdepth 2 -type f -name "requirements.txt" -exec dirname {} \; | sort -u | xargs -n 1 basename | jq -nR '[inputs]')" >> $GITHUB_OUTPUT
echo "python_containers=$(find . -maxdepth 2 -type f -name "requirements.txt" -exec dirname {} \; | sort -u | xargs -n 1 basename | jq -R -s -c 'split("\n")[:-1] ')" >> $GITHUB_OUTPUT
list-integration-test-directories:
runs-on: ubuntu-latest
outputs:
Expand Down

0 comments on commit 5dbb62a

Please sign in to comment.