Skip to content

Commit

Permalink
Update .github/actions/nf-test-shard/action.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Hörtenhuber <[email protected]>
  • Loading branch information
sateeshperi and mashehu authored Dec 3, 2024
1 parent 3c81b89 commit b278548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/nf-test-shard/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
total_shards=0
else
number_of_shards=$(echo "$nftest_output" | grep -o 'Found [0-9]* related test' | tail -1 | awk '{print $2}')
shards=$(seq 1 "$number_of_shards" | jq -R . | jq -s .)
shards=$(seq 1 "$number_of_shards" | jq -R . | jq -c -s .)
total_shards="$number_of_shards"
fi
echo "shards=${shards}" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit b278548

Please sign in to comment.