Skip to content

Commit 743369f

Browse files
committed
Again
1 parent b24d9b2 commit 743369f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/codspeed.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
# associated crate and benchmarking mode taken from the Cargo
3939
# metadata.
4040
{
41-
echo "["
41+
echo -n "["
4242
first=true
4343
while IFS=: read -r crate manifest_path; do
4444
dir=$(dirname "$manifest_path")
@@ -50,14 +50,14 @@ jobs:
5050
if [ "$first" = true ]; then
5151
first=false
5252
else
53-
echo ","
53+
echo -n ","
5454
fi
55-
echo "{\"crate\":\"$crate\",\"bench\":\"$bench\",\"mode\":\"$mode\"}"
55+
echo -n "{\"crate\":\"$crate\",\"bench\":\"$bench\",\"mode\":\"$mode\"}"
5656
done
5757
fi
5858
done < <(cargo metadata --no-deps --format-version 1 | jq -r '.packages[] | .name + ":" + .manifest_path')
59-
echo "]"
60-
} | jq --raw-input --compact-output --slurp > benches.json
59+
echo -n "]"
60+
} > benches.json
6161
cat benches.json
6262
echo "benches=$(cat benches.json)" >> "${GITHUB_OUTPUT}"
6363

0 commit comments

Comments
 (0)