Skip to content

Commit

Permalink
please
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpolaczyk committed Jul 30, 2024
1 parent abfa8fb commit 9214b3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/run-zombienet-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ jobs:
- name: Set tests output
id: set_tests
run: |
tests_escaped=$(echo "${{ env.tests }}" | jq @json)
include_tests=$(echo "$tests_escaped" | jq -nc --argjson tests "$tests_escaped" '{include: $tests | map({test_name: .})}')
include_tests=$(echo "${{ env.tests }}" | jq -R -s '. | {include: (fromjson | map({test_name: .}))}')
echo "Formatted tests JSON: $include_tests"
echo "tests=$include_tests" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 9214b3c

Please sign in to comment.